Viewing 6 posts - 1 through 6 (of 6 total)
Another way, which is little documented, is using the stored procedure
msdb.dbo.sp_ssis_putpackage
which will allow you automate deployment using TSQL 🙂
September 25, 2015 at 8:03 am
Another way to kick of a subscription is to use sp_start_job and kick off the job SQL server automatically creates for each subscription. The name typically has a generic GUID...
June 19, 2015 at 2:07 pm
I agree, I just used a table variables so you can run this code anywhere without even needing the right to create objects in a database.
Also, I did not...
May 15, 2015 at 1:33 pm
In this case I would use a simple tally table:
DECLARE @source TABLE (SegNo int, Date_Field smalldatetime, Month_Count int, Payment decimal(10,2))
DECLARE @tally TABLE (N int)
INSERT INTO @tally(N)
SELECT ROW_NUMBER() OVER (ORDER BY...
May 15, 2015 at 7:28 am
If you only have alphanumeric values on your column you can use STUFF in combination with PATINDEX to get rid of the junk:
DECLARE @teststring nvarchar(20)
SET @teststring = 'test ' +...
April 23, 2015 at 12:08 pm
Won't it will break if people put the same song in there twice?
December 22, 2014 at 9:06 am
Viewing 6 posts - 1 through 6 (of 6 total)