Forum Replies Created

Viewing 15 posts - 18,721 through 18,735 (of 26,489 total)

  • RE: what is net change method

    torpkev (10/2/2009)


    i dont even see a question here..?

    Title of the thread: what is net change method

  • RE: URGENT-PLEASE HELP

    As this looks like a performance issue, please read the second article I have referenced in my signature block. Following the instruction in that article will get you the...

  • RE: No SQL Services after installation

    Jake Shelton (10/2/2009)


    *gives Lynn a big kiss for saving me a whole w/ends work...* 🙂

    Don't think my wife would approve. 😉

  • RE: Pkey Date default value

    Sample code.

    create table dbo.MyTestTable (

    MyTestTableID int identity(1,1),

    MyDate datetime default(dateadd(dd,datediff(dd,0,getdate()) - 1, 0)),

    ADataValue int

    )

    ;

    insert into dbo.MyTestTable(ADataValue)

    select 1

    ;

    select

    ...

  • RE: The Dynamic Tally or Numbers Table

    On my dev system master.sys.all_parameters returns 6776 rows. In the context of the particular database I tested it, sys.all_parameters, returned 6841.

  • RE: No SQL Services after installation

    SQL Server 2005 Enterprise Edition will not run on XP Pro. What you need on XP Pro is the Developers Edition. Same functionality as EE but costs about...

  • RE: Pkey Date default value

    krypto69 (10/2/2009)


    shouldn't I be able to simply add 'GETDATE()' to the default value or binding of the table, so it inserts the current date when a record gets inserted?

    Show me...

  • RE: Pkey Date default value

    I'd have to see the code for the insert as well as the DDL for the table. I have an idea, but it is better to see this first.

  • RE: The Dynamic Tally or Numbers Table

    And that is why I designed my Dynamic Tally Table as an In-line TVF versus the multi-statement TVF in Frank Solomons' article in SQL Server Magazine.

  • RE: Deleting (non-PK) duplicate values based on another column

    Here is another option:

    create table dbo.MyTestTable (

    SearchResultID int primary key,

    ContentID int,

    RankVal int

    )

    insert into dbo.MyTestTable

    select 1,2134,22 union all

    select 2,2134,108...

  • RE: Pkey Date default value

    Yesterday at midnight:

    select dateadd(dd, datediff(dd, 0, getdate()) - 1, 0)

  • RE: Nested Case statement

    Here is my code with a slight change to hopefully account for Previous Day.

    SELECT

    'OPEN' as [AREA_DESCRIPTION]

    ,'OPEN' as...

  • RE: Nested Case statement

    If you would like some helpful help give us what we have asked for. Read the first article I reference in my signature block. Follow the instructions in...

  • RE: Are the posted questions getting worse?

    Ten thousand posts isn't that far off actually. All it takes is one hot topic to bring out a lot of posts.

  • RE: Are the posted questions getting worse?

    I guess we've been busy. I know I am. Between work, soccer, trying to research an article for SQL Server Standard, and life in general, not much time.

Viewing 15 posts - 18,721 through 18,735 (of 26,489 total)