Forum Replies Created

Viewing 15 posts - 23,656 through 23,670 (of 26,486 total)

  • RE: Select based on Date- How to?

    Let us drop back 10 yards and punt.

    First, answer the following question, what are you attempting to do with this particular query? Are you trying to return all records...

  • RE: Overlapping query help

    Different angle of attack. When making a reservation, do you keep trying until you find an available RunNo & RunType? You don't have a screen that returns open...

  • RE: Overlapping query help

    Here is a question that should be asked of the system:

    Given:

    CheckInDate = 11/11/2008

    CheckOutDate = 11/14/2008

    RunType = Large

    What RunNo is available?

    Based...

  • RE: Overlapping query help

    Nope, doesn't help. Based on your current sample data, we have 6 reservations for a Large runtype, and run number L100. Based on the information provided, 2 of...

  • RE: ddl_admin

    From Books Online (BOL) :

    Members of the db_ddladmin fixed database role can run any Data Definition Language (DDL) command in a database.

    So, answer, yes.

  • RE: Overlapping query help

    It does, but it points out an error in your sample data as well. If we make the assumption (as ReservationID is an identity column) that the reservations were...

  • RE: Secondary filegroup problem

    Post the DDL for the tables and indexes. Can't really tell what the issue is based solely on your post. Also, post the DDL for the database as...

  • RE: nvarchar vs int :(

    How about showing us what your are talking about? Could you post the DDL for the table and some sample data?

  • RE: Overlapping query help

    Not really. Based on that some of the sample data should have been rejected. Could you please explain the results expected based on the sample data. I'm...

  • RE: Cursor Issues

    Is there more to the error message than just this: Error: 913, Severity: 16, State: 8?

  • RE: Overlapping query help

    Could explain in a little more detail exactly what you are trying to accomplish? Also, could you explain in more detail what is supposed to happen with the following...

  • RE: Overlapping query help

    Just an observation, but you really should evaluate if the Primary Key (Reservation ID) is actually the best choice for your clustered index on the table. You should review...

  • RE: Select based on Date- How to?

    shailesh (11/19/2008)

    Where dbo.ufn_GetDateOnly(EndDt) <= '01/01/2009'

    And doing this can result in your query not taking advantage of indexing on a table. If your tables are small, you may not...

  • RE: Custom Function: Unexpected Results :crazy:

    The code samples I provided will actually go either way. They go backward with positive values, and forward with negative values. A little counter-intuitive, but that was because...

  • RE: Are the posted questions getting worse?

    I don't think the comments here are meant to be elitist, just frustration. There have been threads on some forums where more information has been requested, the OP has...

Viewing 15 posts - 23,656 through 23,670 (of 26,486 total)