Forum Replies Created

Viewing 15 posts - 106 through 120 (of 253 total)

  • RE: create fixed width file using BCP

    Jeff

    How would I encrypt existing data? I would need to write a tool to read each record, then encrypt it and update the record back in the table which will...

  • RE: Primary Keys and Identity Columns

    Interesting find. Fortunately we dont have computed columns..The replication has gone through a major improvement in SQL 2005. We are currently upgrading to 2005 and I am testing the new...

  • RE: Query returning data by date range

    What is the criteria for the results? do you want to break it up for every 3 days? stay away from cursors.

  • RE: Problem With Temp Table

    Before you do a SELECT INTO its a good idea to check if the table exists in the tempdb and drop it first. You prbly have an object left out...

  • RE: create fixed width file using BCP

    I agree. But thats not my call. But this is a one time ordeal for encrypting existing data. For any new data it will be encrypted through the application layer.

  • RE: create fixed width file using BCP

    We are encrypting some of our columns in the table. The encrypting tool needs a fixed width file. So I need to create multiple smaller fixed width files which will...

  • RE: Primary Keys and Identity Columns

    Get the "Results to Text" and set the width to at least 1200. The stored proc gets trimmed off under normal results.

  • RE: Stored Proc to create script of Database

    replace with your server name (SELECT @@servername)

    and with the db you want to create thes cripts for (SELECT DB_Name())

  • RE: Replicating really large tables

    Hey John

    why do you even need to script out the articles when you are restoring the PUB db on the SUB? You can just restore the db on subscriber and...

  • RE: Primary Keys and Identity Columns

    If you are having issues with updating rows that have IDENTITY columns here's something you can do:

    •Get the script from MASTER db for the stored proc sp_scriptdynamicupdproc

    •Compile the stored proc...

  • RE: create fixed width file using BCP

    The view idea seems more feasible. I have tables with 200 mil rows. Need to see how it works out when I batch the bcp util. Thanks for the suggestion.

    I...

  • RE: How to return Scope_Identity

    You prlby need to initialize the @NewForumUserID to NULL before the insert.

  • RE: create fixed width file using BCP

    The text files I create have to be passed through some 3rd party ETL tool for encryption. So the files should be readable. If I use native format, the files...

  • RE: ownership of tables

    When you create your tables create them with dbo as owner.

    CREATE TABLE dbo.mytable

    instead of

    CREATE TABLE mytable

    If you dont use the prefix dbo the table will created within the scope...

  • RE: Problem setting up subscription

    When you are setting up the replication, you need to select the list of objects you want to be replicated. By default only views are selected. Perhaps you overlooked that...

Viewing 15 posts - 106 through 120 (of 253 total)