Forum Replies Created

Viewing 15 posts - 136 through 150 (of 346 total)

  • RE: I just want to do my job !

    And don't take your directors (old managers) attitude to personally. Your manager probably told him that he couldn't work with you so he has a choice between getting rid of...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Script to Find Locations of Specified Column

    Haven't looked at this very carefully but it doesn't seem to cater for entries that are split across pages in syscomments.

    Would also maybe return false entries if one statmet has...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: different execution time

    mjschwenger (9/30/2007)


    I do not believe that this is an issue of using bind variables or literals.

    Please, note that the slow statement is the one that uses bind parameters, not literals....


    Cursors never.
    DTS - only when needed and never to control.

  • RE: I just want to do my job !

    Sorry to hear about what's happened to you (again?).

    "So I am not a team player ? All I want is to do my job. Actually all the past years I...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: How can I script out an existing table using TSQL

    How quickly do you need this to run?

    If SMO is too slow it implies that your database structure is very volatile so maybe you should look for a solution that...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Unique ID for a View

    Glad you've solved the problem.

    Be careful about any code that tries to generate a row number using non-unique data. It probably means that different calls could generate different values for...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Restore & Recovery

    Depends on the context.

    If you are talking about backups:

    restoring is creating the dtaabase from the backup file - by default this will also recover but you can prevent this step....


    Cursors never.
    DTS - only when needed and never to control.

  • RE: question about log file

    How are you doing the copies?

    Sounds like a select * into from query analyser which will just log the extent allocations (ish).

    Maybe dts is doing a create table and logged...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Error while exporting SQL Server 2005

    First thing to do is to check that the source database is ok.

    Try selecting the max value for that column and see if you get an error.

    Try dbcc checdatabase also.

    What...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Copying an existing database to Test Env on Same Server

    Sounds like you will need to do this multiple times.

    I usually create a job to do it - backup the source database then restore it with move and replace.

    Then all...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Table Description

    Try

    information_schema.columns

    or syscolumns (a bit more difficult to interpret)

    you can choose the columns to return.


    Cursors never.
    DTS - only when needed and never to control.

  • RE: using bulk insert

    see

    http://www.nigelrivett.net/SQLTsql/BCP_quoted_CSV_Format_file.html


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Update Trigger Updates Correct Record In Another Table

    Jeff Moden (9/30/2007)


    nigelrivett (9/29/2007)


    There is a case for auditing inserts - it depends on what you are using the audit trail for.

    If you want to report on full history of...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Update Trigger Updates Correct Record In Another Table

    There is a case for auditing inserts - it depends on what you are using the audit trail for.

    If you want to report on full history of the data then...


    Cursors never.
    DTS - only when needed and never to control.

  • RE: Update Trigger Updates Correct Record In Another Table

    Jeff Moden (9/29/2007)


    Phil Factor (9/11/2007)


    is a popular introductory article on the technique

    Well, I'll be damned... Now I know who to blame... 😀 (NOT Phil... Pop Rivet!)

    I've had...


    Cursors never.
    DTS - only when needed and never to control.

Viewing 15 posts - 136 through 150 (of 346 total)