Viewing 15 posts - 31 through 45 (of 49 total)
Thanks Charmer, that did the trick!
January 5, 2012 at 10:14 am
The stored procedure selects it.
January 4, 2012 at 1:10 pm
What is a "simple" result set? I tried modifying the execute SQL task like this:
1) Result Set: Single-Row
2) ConnectionType: OLE DB
3) Connection: SQL table
4) SQLSourceType: Direct Input
5) SQL Statement:...
January 4, 2012 at 12:28 pm
Haha, I forgot to map the new derived column to the table column. Looks like that method did work!
December 20, 2011 at 1:24 pm
I just found the issue. Apparently if you divide an integer by an integer the result is an integer. Here is a good explanation and fix:
http://social.msdn.microsoft.com/Forums/en/transactsql/thread/f608a688-0f48-4e81-b183-57e8dfaec641
July 21, 2011 at 4:25 pm
That you Craig and Fraggle! Your insight was very valuable to me!
Here is how I made this work:
UPDATE C
SET C.Client = D.[Client] FROM dbo.Client_Stage_Test C LEFT OUTER...
July 7, 2011 at 1:54 pm
Its a data warehouse environment and I want to lay the Client name into the Client field of the table using the crosswalk.
I want to match the table1.Carrier with...
July 6, 2011 at 2:07 pm
Thanks for everyone's input! I am going to go ahead and switch to full recovery model and do some reading on log shipping and mirroring!
June 9, 2011 at 1:41 pm
Here was the solution that worked in case somebody else runs into a problem like this. I think the issue was that the UPCs were in the Specialty_UPC table...
June 7, 2011 at 10:44 am
I think it's just a little more difficult to manage the servers. I am completely new to this whole "DBA" thing but it has become my responsibility in the...
June 6, 2011 at 8:13 pm
I don't feel comfortable doing that due to the nature of the data. I understand if you can't help without it. Thanks anyways!!
June 6, 2011 at 7:08 pm
Below is the entire query. Hopefully this helps!
select
[YearMonth]
,[ID]
,[STATE]
,[ORG_NBR]
,[MEMBERSHIP_CODE]
,column6
,column7
,column8
,CASE WHEN EXISTS((select top 1 MAX(U.UPC) from dbo.Specialty_UPCs AS U WHERE C.UPC...
June 6, 2011 at 6:52 pm
The only thing I left out was the WHERE clause.
June 6, 2011 at 6:01 pm
I am still getting the same error with that code 🙁
June 6, 2011 at 5:35 pm
Like this:??
CASE
WHEN ((select count(distinct MAX(U.UPC)) from dbo.Specialty_UPCs as U where C.UPC = U.UPC) > 0)
...
June 6, 2011 at 5:19 pm
Viewing 15 posts - 31 through 45 (of 49 total)