Forum Replies Created

Viewing 15 posts - 781 through 795 (of 920 total)

  • RE: smallint to general date

    Or does 13097 really mean 1/30/1997?  If so, how do you distinguish 1/12/97 from 11/2/97?  Not enough info to give you a good answer on this.


    And then again, I might be wrong ...
    David Webb

  • RE: Risk in the stored procedure below

    If you're going to do it this way, I'd suggest the following structure to minimize locking:

     

    CREATE PROCEDURE Get_New_ID

    @Prefix varchar(2)

    AS

    begin tran

    -- do the update to increment the...


    And then again, I might be wrong ...
    David Webb

  • RE: First Poll for 2006

    I have a bunch of favorites but the latest one's that I find myself using are both by Kinky Friedman, musician, novellist, and soon to be Governor of Texas:

     

    We're all...


    And then again, I might be wrong ...
    David Webb

  • RE: SQL Server running at 95% util

    How big is the database?

    How are connections handled?  Are you using pooled connections from a web (or other) server or does each user make and terminate connections?  There's a fair amount...


    And then again, I might be wrong ...
    David Webb

  • RE: SQL Server running at 95% util

    Hmmm...

    Could be any number of things.  How busy are the disks and how are the database files laid out?  It's possible that I/O is the bottleneck and redistributing the files...


    And then again, I might be wrong ...
    David Webb

  • RE: Concatenating data in a variable

    You might want to check for NULL in @variable before you concatenate it with anything.  I think NULL concatenated with anything yields NULL.


    And then again, I might be wrong ...
    David Webb

  • RE: Create Format files...

    I hesitate a little to send the following code, because I have to caveat it so heavilly.  It was built for Sybase, and it was never really finished, so there...


    And then again, I might be wrong ...
    David Webb

  • RE: Finding/Listing All Databases

    From our friends in Redmond:

    http://support.microsoft.com/default.aspx?scid=kb;en-us;287737

    the sqldmo answer.


    And then again, I might be wrong ...
    David Webb

  • RE: Julian to calendar

    Will the days always be 3 digits?  (0015 for January 1, 2005 as opposed to 15).  What happens in 2010?

    Making some assumptions, this might be a place to start:

    declare @x...


    And then again, I might be wrong ...
    David Webb

  • RE: Finding skipped values

    Depending on how large your coulumn is, you might create a table with all the numbers from 1 to your largest identity and then join the two tables, deleting the...


    And then again, I might be wrong ...
    David Webb

  • RE: Timeout Expired - Autogrow of file cancelled or timed out

    Looks like the autogrow increment may be running the disk out of space.  Check to see if you have enough room to do a 25% (or a 10%) growth on...


    And then again, I might be wrong ...
    David Webb

  • RE: Poll #3

    I, Robot.  The Asimov original story is better than the movie, but the questions are one's my grandkids will probably have to answer.  What is 'life' anyway?  And maybe 'if...


    And then again, I might be wrong ...
    David Webb

  • RE: Take Care of Your Own

    I have to agree with Steve on this.  The idea that everyone can just pull up stakes and go somewhere better is grossly oversimplifying the complexities of life.  In the...


    And then again, I might be wrong ...
    David Webb

  • RE: How do I restore a DB that wants 6X more space then it needs?

    How big is the database from which the backup was made?


    And then again, I might be wrong ...
    David Webb

  • RE: Take Care of Your Own

    I grew up in Cannonsburg, Kentucky, and I just got back from a vacation trip to the old homestead.  We had one 4-way stop in the middle of town, a...


    And then again, I might be wrong ...
    David Webb

Viewing 15 posts - 781 through 795 (of 920 total)