Thread
:
SQL Query when inserting data from one database to another.
View Single Post
22-Oct-2007, 12:33 AM
#
2
(
permalink
)
Anilrgowda
Administrator
Posts
: 18,715
Join Date
: Jan 2006
Rep Power:
10
IM:
Re: SQL Query when inserting data from one database to another.
INSERT INTO DataSocial_DW.dbo.DimReason(ReasonNameTe
mp,ReasonN
ame)
SELECT Distinct Reason as ReasonNameTemp, isnull(Reason,'Not Supplied') as ReasonName
FROM [SalesForce].[dbo].[Case]
ORDER BY isnull(Reason,'Not Supplied')
------------------
Anilrgowda
View Public Profile
Send a private message to Anilrgowda
Find More Posts by Anilrgowda