editorial

Technical Article

RE: Data Tranfer from production to datawarehousing DB

  • Reply

The processes that extract data from production database, transform and load them into your DW depend on your business requirements. See "Extracting Data from Operational Systems", "Cleansing and Transforming Data", "Loading Data into the Data Warehouse Database" in BOL to familar with the ETL concept and tools before you start.

You rated this post out of 5. Change rating

2003-05-02

Technical Article

RE: Article suggestions

  • Reply

A nice suggestion and one that I know people try to follow, but it can get difficult. I know as an author I often am trying to solve a particular problem and may not realize there is another use. We've seen that usually someone will comment on how they used a similar solution to solve […]

You rated this post out of 5. Change rating

2003-05-02

Technical Article

RE: Bring Trans Rep online during production hours?

  • Reply

Im surprised there is such a big disparity between backup vs bcp, maybe I just never looked. One idea is to break it up into separate publications, maybe separate pub for each large table, one pub for all small tables. That way the snapshot will go faster and the log won't grow as much. Lot […]

You rated this post out of 5. Change rating

2003-05-02

1 reads

Technical Article

RE: Bring Trans Rep online during production hours?

  • Reply

That was what I was afraid of... BTW, the snapshot takes about 8-9 hours, but a Baskup/Restore takes 2-3 hours, and that's after optimizing the snapshot using -UseInprocLoader and multiple BCP threads. I've also considered doing a detach-->copy-->attach, this would only take about 2 hours. Also the snapshot is logged when it is applied, so […]

You rated this post out of 5. Change rating

2003-05-02

1 reads

Technical Article

RE: Transpose Rows to columns based on key

  • Reply

Sorry, I forgot about that. Like I said, I didn't test it . This will work, as I did test it: Update Table1 Set phone2 = phone from Table1 inner join (Select Table2.keyvalue, min(addtlphone) phone from Table1 inner join Table2 on Table1.keyvalue=Table2.keyvalue where addtlphone > phone1 group by Table2.keyvalue) T on Table1.keyvalue=T.keyvalue Update Table1 Set […]

You rated this post out of 5. Change rating

2003-05-02

1 reads

Technical Article

RE: Wholsesale conversion of char to varchar?

  • Reply

Great help, Thanks! I think I can see how to generate the similar code for the ALTER TABLE - I know the xtype to search for is '175' and replace with '167'. Just hadn't thought of the idea of generating update commands via a literal and variable string concatenation...clever! Thanks again! J.C.Michael "You can never […]

You rated this post out of 5. Change rating

2003-05-02

Technical Article

RE: Transpose Rows to columns based on key

  • Reply

I haven't tested this, but something along these lines should work: Update Table1 Set phone1 = min(addtlphone) from Table1 inner join Table2 on Table1.keyvalue=Table2.keyvalue Update Table1 Set phone2 = min(addtlphone) from Table1 inner join Table2 on Table1.keyvalue=Table2.keyvalue where addtlphone > phone1 Update Table1 Set phone3 = min(addtlphone) from Table1 inner join Table2 on Table1.keyvalue=Table2.keyvalue where […]

You rated this post out of 5. Change rating

2003-05-02

1 reads

Blogs

Set a Runtime Variable in an Azure DevOps Pipeline

By

Note: I DO NOT recommend this. Any changes to a pipeline should be in...

A New Word: Symptomania

By

symptomania – n. the fantasy that there’s some elaborate diagnosis out there that neatly...

Query Store Keeps Switching Itself Off, Getting it Moving Again

By

I recently received a complaint that Query Store for a particular database was turned...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers