Viewing 15 posts - 8,161 through 8,175 (of 13,882 total)
Ah yes, tried to take a sneaky shortcut. Needs to be fixed:
and sjh.run_date >= (year(getdate() - 1) * 10000 + month(getdate() - 1) * 100 + day(getdate() - 1));
August 21, 2015 at 5:45 am
Haven't been following that thread, but I do have some suggestions for your query. Here's mine, derived from yours.
select ServerName = @@SERVERNAME
,JobName...
August 21, 2015 at 5:29 am
OK, and please get rid of cur2:
insert Monitor.dbo.Procedurecode
(DB
,ROUTINE_NAME
...
August 21, 2015 at 2:30 am
ratloser99 36160 (8/21/2015)
I like to backup the stored procedures' code used in my databases. So I created this Script:
/*
IF OBJECT_ID('[Monitor].[dbo].[Procedurecode]') IS NOT NULL DROP TABLE [Monitor].[dbo].[Procedurecode];
*/
DECLARE
@db nvarchar(50),
@strSQL nvarchar...
August 21, 2015 at 1:24 am
Try doing a Google search for SSIS IMEX=1.
It should fix your problem if you add IMEX=1 to your Excel connection extended properties.
August 19, 2015 at 2:55 pm
Easiest solution: import from CSV instead.
August 19, 2015 at 1:03 pm
Sean Lange (8/19/2015)
David Burrows (8/19/2015)
Sean Lange (8/19/2015)
August 19, 2015 at 10:57 am
DamianC (8/19/2015)
I have inherited a few SSIS packages along with some jobs that run them.
I am able to find the packages behind pretty much every SSIS package as they're held...
August 19, 2015 at 7:23 am
The string format YYYYMMDD can be converted directly to datetime.
declare @x nvarchar(20) = '20110905';
declare @y datetime;
set @y = @x;
select @y;
Display formats are, of course, different from storage formats. It...
August 19, 2015 at 6:35 am
karthik82.vk (8/19/2015)
HiThanks for the reply.
SO i need to download it from ftp and then only i have to read it right.
As far as I know.
August 19, 2015 at 5:21 am
karthik82.vk (8/19/2015)
I have some excel files stored in a FTP folder. I want to transfer data from these excel files to my sql table directly from FTP without downloading it...
August 19, 2015 at 4:06 am
Rather than ExecuteSQL, why not use a standard dataflow with suitable source/destination components?
August 19, 2015 at 1:22 am
MikeTomkies (8/18/2015)
August 18, 2015 at 11:09 am
Although it may seem as though the script components offer infinite flexibility given enough code, your problem will be that the input and output columns are defined at design time.
I...
August 18, 2015 at 12:47 am
Sure, use File.move in your script task.
August 18, 2015 at 12:30 am
Viewing 15 posts - 8,161 through 8,175 (of 13,882 total)