Forum Replies Created

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

  • 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.

  • RE: The Dynamic Tally or Numbers Table

    Click on Control Panel. Scroll down to options, click on Forum Settings. Scroll down and you will find where you can change the number of posts per page....

  • RE: Nested Case statement

    Greg Edwards-268690 (10/2/2009)


    You are correct.

    When I've done this, it's with a query that starts at the beggining of the year.

    So I don't need to quallify with the year too.

    Greg E

    That...

  • RE: View Does not Update

    Now, if you really want help, we need the DDL for the underlying tables and sample data as well. You should be able to follow the instruction in the...

  • RE: View Does not Update

    Three and four part naming conventions have been depreciated in SELECT lists. You really need to start using table aliases and two part naming conventions like this:

    create view dbo.AB_CUST_ORDER_ACK...

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