Forum Replies Created

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

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

  • RE: Updating package with identity value from DW

    Based on what I have read, I have another question. How does the OLTP system relate Contracts to Customers since it does not have an apparent FK relationship defined?

    Could...

  • RE: Need a View to calculate Occupancy

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

    create table #RoomData (

    Room ...

  • RE: Updating package with identity value from DW

    Without giving away company specific info, can you provide a simple schema of how the tables relate in your OLTP database and in your datawarehouse? This will help me...

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