Forum Replies Created

Viewing 15 posts - 5,416 through 5,430 (of 5,590 total)

  • RE: Date field default value

    Bridget Elise Nelson (4/27/2009)


    What is a valid definition of Null? We have found couple different definitions as show below:

    1 - used to represent either a missing value or a value...

  • RE: Are the posted questions getting worse?

    Bob Hovious (3/11/2009)


    M R Ducks.

    No M R not.

    S M R. Look at M webbed feet.

    L I B !! M R Ducks.

    I haven't thought about that since...

  • RE: Are the posted questions getting worse?

    Thoughts and prayers for smooth operations and a speedy recovery.

    BTW, Part 2 is very good. Dare I say, even excellent.

  • RE: outer join problem

    george sibbald (4/26/2009)


    I want to return a list of all user databases in an instance with their datafile size and latest backup size. I want one row for each database...

  • RE: Are the posted questions getting worse?

    Lynn,

    Does this[/url] look anything like your desert?

  • RE: Are the posted questions getting worse?

    Bob Hovious (4/26/2009)


    Okay, so I'm still catching up on this thread, and this quote is from mid-Feb.

    Wayne:

    You need to admit that you need help.

    I'd like...

  • RE: Are the posted questions getting worse?

    Bob Hovious (2/19/2009)


    Personally though, I would rather have a smart, motivated person with very little knowledge but the ability and eagerness to learn, than a moderately knowledgeable person with no...

  • RE: Are the posted questions getting worse?

    Bad code stories? Okay, how's this.

    Company hired a VB developer to rewrite an application from Delphi to VB, but gave him rein over SQL. The rewrite was supposed to be...

  • RE: Delete table, who did it?

    GilaMonster (4/25/2009)


    WayneS (4/24/2009)


    GilaMonster (4/24/2009)


    Unless you had a trace active, no way to tell.

    or a DLL trigger?

    SQL 2000

    Ok, I didn't see that before.

  • RE: Perform math on string

    GSquared (4/24/2009)


    Before you start stuffing the string, make sure that times before 10 AM are stored with leading zeroes. If not, you might have a problem when 9:00 AM...

  • RE: Delete table, who did it?

    GilaMonster (4/24/2009)


    Unless you had a trace active, no way to tell.

    or a DLL trigger?

  • RE: Perform math on string

    Here's a one-command approach for the first one I did. It's uglier, but you don't have to call any procedures / functions.

    select convert(char(8),

    convert(datetime,

    convert(datetime, stuff(stuff('154040',3,0,':'),6,0,':')) -

    ...

  • RE: Perform math on string

    First, fire your developer and store the time in a datetime field.

    In the meantime, use this code:

    declare @Start char(6), @End char(6)

    set @Start = '133737'

    set @End = '154040'

    declare @StartTime datetime, @EndTime...

  • RE: Keeping only the top 3 records by date desc per each user_ID in a single table

    I think the solution you already have is good, though I would change the current select to be select TOP 3 instead of using SET ROWCOUNT. (In the next version...

  • RE: Inserting records from csv to the table

    yulichka (4/24/2009)


    Is there something from SQL Server I can select to get data from csv and put it to the table. I hace 5 csv files

    You can use the OpenRowset...

Viewing 15 posts - 5,416 through 5,430 (of 5,590 total)