Viewing 15 posts - 16 through 30 (of 233 total)
coldfire101 (12/30/2009)
Hi,BTW I already saved as the results as an external text file.
Thank you.
You can use BCP.exe utility to import the result from the file into a table.
-Vikas Bindra
December 30, 2009 at 4:35 am
coldfire101 (12/30/2009)
-Vikas Bindra
December 30, 2009 at 4:33 am
You can get the RowID by sing the 'inserted'/updated table. This table is accessible in triggers during an Insert, Update and Delete operation.
The update scenario is something like this:
...
-Vikas Bindra
December 29, 2009 at 1:23 am
SELECT clientname
FROM #ABC
ORDER BY SUBSTRING(clientname,3,3)
,SUBSTRING(clientname,1,2)DESC
-Vikas Bindra
December 23, 2009 at 7:56 am
Try this:
Go to the Advanced Editor of the OLEDB destination task under Component Properties there is a property called 'FastLoadOption' add FIRE_TRIGGERS in that property.
-Vikas Bindra
December 23, 2009 at 7:48 am
Yes. A real good catch:-)
-Vikas Bindra
December 22, 2009 at 4:47 am
As Imu said, send us what are you trying to do?
-Vikas Bindra
December 22, 2009 at 4:11 am
You won't get any data because you are not selecting any. In your code you are only assigning values to the variables. To get the output you have to select...
-Vikas Bindra
December 22, 2009 at 1:59 am
Thanks Lynn!
-Vikas Bindra
December 21, 2009 at 7:16 am
vikas bindra (12/21/2009)
Lynn Pettis (12/21/2009)
vikas bindra (12/21/2009)
declare @lastFriday datetime
SET @lastFriday = convert(datetime,convert(varchar(10),getdate() - (datepart(w,getdate())+1),121))
select
@lastFriday - 6
,@lastFriday - 5
,@lastFriday - 4
,@lastFriday - 3
,@lastFriday - 2
,@lastFriday...
-Vikas Bindra
December 21, 2009 at 6:36 am
Lynn Pettis (12/21/2009)
vikas bindra (12/21/2009)
declare @lastFriday datetime
SET @lastFriday = convert(datetime,convert(varchar(10),getdate() - (datepart(w,getdate())+1),121))
select
@lastFriday - 6
,@lastFriday - 5
,@lastFriday - 4
,@lastFriday - 3
,@lastFriday - 2
,@lastFriday - 1
,@lastFriday...
-Vikas Bindra
December 21, 2009 at 6:30 am
declare @lastFriday datetime
SET @lastFriday = convert(datetime,convert(varchar(10),getdate() - (datepart(w,getdate())+1),121))
select
@lastFriday - 6
,@lastFriday - 5
,@lastFriday - 4
,@lastFriday - 3
,@lastFriday - 2
,@lastFriday - 1
,@lastFriday
-Vikas Bindra
December 21, 2009 at 6:14 am
You are welcome..
-Vikas Bindra
December 21, 2009 at 6:00 am
You only need to map the "Result Set'.
Parameter mapping is for the input parameters for the query and your query does not accept any parameters it is a direct SQl...
-Vikas Bindra
December 21, 2009 at 3:20 am
Viewing 15 posts - 16 through 30 (of 233 total)