Forum Replies Created

Viewing 15 posts - 25,216 through 25,230 (of 26,487 total)

  • RE: The Identity Debate

    And then comes along a merger, and your unique OrderNo/CustomerNo/InvoiceNo whatever is no longer unique as you have to merger both companies data into a single database. It comes...

  • RE: Updating package with identity value from DW

    You mentioned pulling the data from both SQL Server and the mainframe, if the layout of the data from the mainframe the same as in SQL Server?

    😎

  • RE: Updating package with identity value from DW

    More than one. You also have the variations on the name as well: John Smithe for example. Is it really Smithe or is it a typo and should...

  • RE: Updating package with identity value from DW

    Okay. And, tell me if I am wrong, this also leads to another potential problem in the data. I could be in there multiple times as Lynn Pettis,...

  • RE: The Identity Debate

    Quite simple really, I'd put an alternate index (unique) or a unique constraint on CountryName.

    😎

  • RE: Type A, B, or C

    majorbloodnock

    Isn't the 19th century when psychiatry came into being with people like Freud?

    😎

  • RE: Varchar(8000) and Memory Allocation

    That looks like laziness on their part. They obviously didn't want to take the time to analyze the data that would be stored in the varchar fields so that...

  • RE: Need a View to calculate Occupancy

    Jeff,

    It may not be your job to evaluate peoples code, but I personally take it as a great compliment when you have complimented me on my code. I'm sure...

  • RE: Help With Update Query

    Try this code. It is untested as you did not provide the DDL or any test data.

    with TestDate (

    PersonNumber,

    EntryDate

    ) as (

    select

    ...

  • RE: Need a View to calculate Occupancy

    Jack,

    I didn't take it as a criticism. The more detailed the request, the more info provided about what has been tried, and what is expected, the more likely you...

  • RE: Need a View to calculate Occupancy

    Jack Corbett (2/26/2008)


    Lynn Pettis (2/26/2008)


    Jeff Moden (2/26/2008)


    Lynn Pettis (2/26/2008)


    This may not answer your question, but it may help you figure out what you need to do

    Nice!

    Jeff,

    Thanks for the comment. ...

  • RE: Need a View to calculate Occupancy

    Jeff Moden (2/26/2008)


    Lynn Pettis (2/26/2008)


    This may not answer your question, but it may help you figure out what you need to do

    Nice!

    Jeff,

    Thanks for the comment. Sometimes it isn't giving...

  • RE: Updating package with identity value from DW

    Okay, that helps. But to paraphase a bit to be sure:

    Contract is being split into Customer, Address, and Contract in the DW.

    Is this correct?

    Edit:

    Also, can a single customer have...

  • RE: Need a View to calculate Occupancy

    Matter of preference I guess. I find cte's help me keep the code cleaner actually instead of using derived tables in the FROM clause. Keeps it more like...

  • RE: Need a View to calculate Occupancy

    For your perusal, some more code to play with:

    create table dbo.RoomData (

    Room smallint,

    XDate ...

Viewing 15 posts - 25,216 through 25,230 (of 26,487 total)