Viewing 15 posts - 10,156 through 10,170 (of 13,874 total)
namrata.dhanawade-1143388 (2/8/2013)
In our SSIS package we have a lot of stored procedures which get called via a SQL task. These SP's sometimes have a union all or joins between lots...
February 8, 2013 at 4:15 am
Vikas Pathak (2/7/2013)
not able to open link
That link is from 2007 - perhaps MS have modified their web site in the last six years ...
February 8, 2013 at 3:54 am
johmga26ssn (2/7/2013)
February 7, 2013 at 2:38 pm
rmatthias001 (2/7/2013)
February 7, 2013 at 11:47 am
Please reread Anthony Green's post.
February 7, 2013 at 9:41 am
I'd say that your first task would be to get the package transferred to a location which is local to the server.
If you are using an RDP connection, that should...
February 7, 2013 at 1:40 am
opc.three (2/6/2013)
J M-314995 (2/6/2013)
February 7, 2013 at 1:36 am
Methew (2/7/2013)
Perfect...Sir you did exactly what i want.DONE...thanks
Thanks for posting back - glad to help.
February 7, 2013 at 1:08 am
OK, I fixed up your sample data to use a proper IDENTITY PK and not to try and insert varchars into the INT bank_id column. Solution below:
IF OBJECT_ID('TempDB..#mytable1','U') IS NOT...
February 7, 2013 at 12:57 am
Methew (2/7/2013)
id,bank_id,amount
it has alot of data....how i can select last entry for all distinct banks ?
lets say(Below code has not tested)
IF OBJECT_ID('TempDB..#mytable1','U') IS NOT...
February 7, 2013 at 12:41 am
You could add another level of nesting:
Expression < 0 ? 0 : Expression
where expression is the entire statement you currently have.
Or - slightly unorthodox - add another derived column transformation...
February 6, 2013 at 1:32 pm
Here's one way, I think
update it
set Add1 = s.Add1
,Add2 = s.Add2
from dbo.items_test it
join dbo.Staging1 s on it.Location = s.Location
and it.ProdCode = s.ProdCode
and it.Customer = s.Customer
where it.Date_Effective =...
February 6, 2013 at 8:19 am
Jason-299789 (2/6/2013)
It was aimed as more of an example of how to generate the basic data (ie a Sequential date), so that you can then start adding on the...
February 6, 2013 at 8:00 am
Viewing 15 posts - 10,156 through 10,170 (of 13,874 total)