Forum Replies Created

Viewing 15 posts - 826 through 840 (of 911 total)

  • RE: Need counts of orders by month and year

    meichmann - Wednesday, June 14, 2017 12:02 PM

    I'm thinking of using an if statement with case statements [CASE is an expression in SQL] but...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: Things to consider while creating new table for an application

    Jackson89 - Saturday, June 3, 2017 11:25 PM

    No, this is not a table. By definition, a table must have a key and...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: And/OR logic in SQL

    Look up De Morgan's laws in any book on logic.

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: Best way to handle a table-based queue?

    Sam-263310 - Tuesday, June 6, 2017 9:53 AM

    QUESTION: Which method is better? (you decide what "better" means)

    Have you considered using the create sequence...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: Cursor removal

    >> I have a store proc that uses cursor to update table with 5 million records [sic]. It's extremely slow and expensive. <<

    actually, it’s worse than that. It...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: Multiple Values for Single Parameter in User Defined Function

    wweraw25 - Wednesday, May 24, 2017 1:57 PM

    Something like below:

    Exec dbo. Sp_Number '1,2,3,4,5'

    Result Set
    1       USA   Chicago
    2       UK...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: Check multiple condition in sql query

    devesh.hassani - Wednesday, May 24, 2017 1:50 AM

    Why did you fail to post DDL? Your vague narrative is not a  good design. This is a...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: Check multiple condition in sql query

    devesh.hassani - Wednesday, May 24, 2017 1:50 AM

    Why did you fail to post DDL? Your vague narrative is not a  good design. This is a...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: How can I identify employee records with the same hire and term dates?

    jcelko212 32090 - Thursday, May 25, 2017 11:08 AM

    NineIron - Wednesday, May 24, 2017 6:05 AM

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: How can I identify employee records with the same hire and term dates?

    NineIron - Wednesday, May 24, 2017 6:05 AM

    The table has employee data. EmployeeID, HireDate, TermDate. Some records have the same EmployeeID and the Hire...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: To Delete / Truncate / Drop & Create

    RonKyle - Tuesday, May 23, 2017 8:17 AM

    That isn't a natural key. It is using a surrogate key from another system.

    We may have...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: To Delete / Truncate / Drop & Create

    RonKyle - Tuesday, May 23, 2017 8:17 AM

    That isn't a natural key. It is using a surrogate key from another system.

    We may have...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: To Delete / Truncate / Drop & Create

    RonKyle - Thursday, May 18, 2017 7:08 AM

    I'd enjoy seeing a realistic example of when a natural key for an employees...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: Heap vs Clustered Wildcard Search

    josh-1127203 - Tuesday, May 16, 2017 10:21 AM

    Please read a book on RDBMS. The identity column is not a column! It's...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • RE: To Delete / Truncate / Drop & Create

    stephen.plant - Monday, May 15, 2017 6:52 AM

    TheSQLGuru - Monday, May 15, 2017 5:51 AM

    Please post DDL and follow ANSI/ISO standards when asking for help. 

Viewing 15 posts - 826 through 840 (of 911 total)