Viewing 15 posts - 3,256 through 3,270 (of 5,590 total)
AlexSQLForums (9/10/2010)
Does your ssis service account have permissions to "\\My UNC PATH (with IP Address)\MySpreadsheet.XLS"?
Yes. It first makes the directory (if not already there), deletes the spreadsheet (if already present),...
September 13, 2010 at 7:38 am
This should work for you:
declare @test-2 table (Staff_nbr varchar(20));
insert into @test-2
select 'Unknown_200'
-- un-remark the following line to work with 4 digit numbers
--UNION ALL select 'Unknown_2000'
;with CTE (staff_nbr) AS
(
select convert(int,...
September 13, 2010 at 7:29 am
I ran Jeff's CSV builder, and Peter's test code on my system. For good measure, I threw in the DelimitedSplit8K routine also (running against both a "real" and a virtual...
September 13, 2010 at 6:33 am
If you will post your sample data creation, I'll give it a test...
September 12, 2010 at 10:29 pm
CirquedeSQLeil (9/12/2010)
WayneS (9/12/2010)
GilaMonster (9/12/2010)
Alvin Ramard (9/12/2010)
Alvin Ramard (9/12/2010)
Gail, you might want to bring a certain piece of steel with you if you go revisit that BIT datatype thread.
That OP is...
September 12, 2010 at 5:34 pm
Alvin Ramard (9/12/2010)
GilaMonster (9/12/2010)
Patience, yes, but that poster needs an attitude adjustment. Go back through their older posts.
I think part of his problem, on top of his poor communication skills,...
September 12, 2010 at 5:30 pm
GilaMonster (9/12/2010)
Alvin Ramard (9/12/2010)
Alvin Ramard (9/12/2010)
Gail, you might want to bring a certain piece of steel with you if you go revisit that BIT datatype thread.
That OP is now on...
September 12, 2010 at 4:53 pm
You're going to have to do something like:
DECLARE @test-2 TABLE (ColumnX char(1), ColumnY int);
INSERT INTO @test-2
SELECT 'a', 3 UNION ALL
SELECT 'b', 4 UNION ALL
SELECT 'a', 3 UNION ALL
SELECT 'a', 3...
September 12, 2010 at 4:41 pm
The problem is that in order to really use the output clause to capture the identity column, and then subsequently use it in a child insert, you do need something...
September 12, 2010 at 4:32 pm
steve-893342 (9/12/2010)
WayneS (9/12/2010)
steve-893342 (9/11/2010)
A variation using CROSS APPLYThis is a SQL 7/2000 forum... the cross apply won't work unless posted in the wrong forum.
shell_l_d (9/10/2010)
September 12, 2010 at 4:20 pm
The XML splitter that I used until you blasted it away with code did not use the ROW_NUMBER() function to return the position.
September 12, 2010 at 4:13 pm
GilaMonster (9/12/2010)
WayneS (9/12/2010)
CirquedeSQLeil (9/11/2010)
Anybody else want to try this one?Well, it looks like Gail made a new friend out of it. http://www.sqlservercentral.com/Forums/FindPost984310.aspx.
The phrase "With friends like that who needs enemies"...
September 12, 2010 at 4:02 pm
Jason Akin (9/11/2010)
September 12, 2010 at 1:48 pm
steve-893342 (9/11/2010)
A variation using CROSS APPLY
This is a SQL 7/2000 forum... the cross apply won't work unless posted in the wrong forum.
September 12, 2010 at 1:36 pm
CirquedeSQLeil (9/11/2010)
Anybody else want to try this one?
Well, it looks like Gail made a new friend out of it. http://www.sqlservercentral.com/Forums/FindPost984310.aspx.
September 12, 2010 at 1:25 pm
Viewing 15 posts - 3,256 through 3,270 (of 5,590 total)