Forum Replies Created

Viewing 15 posts - 50,941 through 50,955 (of 59,078 total)

  • RE: Identity Columns

    As with so many types of testing, you must also test your "made up" questions as well. This question actually has two correct answers... made up or not... 😉

  • RE: Need Query help

    It orders by data_id assuming that you want to know the next one. Your example data was not in order by data_id, but I think you may have meant...

  • RE: Restrict DBO user

    Lynn (4/24/2008)


    I can't put these tables in a separate db because the application will break.

    Oh, yes you can... put the tables in a different DB and either make "surrogate views"...

  • RE: Updating the rows with Identity values

    Just alter the table to add the ID column making sure that it has the IDENTITY property included.

  • RE: Performance Problem

    The first 3 things I'd do is...

    1. Update to sp2 and apply the latest cumulitive update (#7, I believe).

    2. Turn off autoshrink. If it keeps growing, it's...

  • RE: DTS - loading mixed data types from text file.

    Thanks for the feedback, Gene, and good luck on your efforts! Let us know if anything comes up... maybe give us some feedback on what you ended up doing....

  • RE: The Exceptional DBA: Soft Skills

    You've summarized the soft skills very nicely, Tony. And, I absolutely agree, David Poole's well thought out statement of "if people will voluntarily use you as the first point...

  • RE: DTS - loading mixed data types from text file.

    intvfan (4/26/2008)


    I still would love to have the log not grow!!! I am loading millions of rows in several tables.

    I would love to BULK load. Do you bulk...

  • RE: Date String

    You don't need to worry about DateFirst with the following...

    [font="Courier New"] SELECT LEFT(DATENAME(dw,GETDATE()),3)

    + ', ' + CONVERT(VARCHAR,GETDATE(),106)[/font]

  • RE: Cursor ends when I don't want it too

    Have you got a server called "FindUsers"??? That's where the error is on my machine...

  • RE: Can't see owned tables

    Sounds like someone changed a role or reassigned a role. Maybe even changed to Windows Authentication without doing the necessary work to keep privs.

  • RE: DTS - loading mixed data types from text file.

    I import all columns as VARCHAR and evaluate from there. You should only import to a staging table... there you can make such decisions before transferring to the final...

  • RE: Extracting Rows from Delimited Strings

    Matt Miller (4/25/2008)


    Jeff - that last code nulls out the 0's in the 3rd column - is it supposed to?

    Nah... I screwed up.

    The real key to this whole thing is...

  • RE: CTE's are useless

    Seggerman (4/25/2008)


    There are times (not too often) where speed at any cost is unwise

    I may be a newbie at SQL Server but in computer programming for over 3 decades

    my current...

  • RE: User Defined Function - Passing and Processing a Table

    rbarryyoung (4/16/2008)


    I am confused. Why isn't robert's answer sufficient?

    I agree... why is everyone still looking for an aggegate function and passing columns of data when Robert's very simple formula...

Viewing 15 posts - 50,941 through 50,955 (of 59,078 total)