Viewing 15 posts - 20,836 through 20,850 (of 59,098 total)
Kannan Vignesh (5/8/2015)
that is fine. but remove duplicates in flatfile itself..?
The absolute best way is to have the people that are creating the flat file do their jobs better and...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 8, 2015 at 6:49 pm
TomThomson (5/8/2015)
Lynn Pettis (5/8/2015)
Jeff Moden (5/8/2015)
SQLRNNR (5/8/2015)
Lynn Pettis (5/8/2015)
Geez, now someone doesn't even understand that the code they are running generates and runs dynamic SQL.What is dynamic sql?
Who is John...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 8, 2015 at 6:35 pm
Scott-144766 (5/7/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 8, 2015 at 6:32 pm
Lynn Pettis (5/8/2015)
I do love showing people Jeff's DelimitedSplit8K function and pointing them to his article.
:blush: I'm honored, ol' friend. It's not mine though. We've all made...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 8, 2015 at 4:26 pm
Lynn Pettis (5/8/2015)
Jeff Moden (5/8/2015)
SQLRNNR (5/8/2015)
Lynn Pettis (5/8/2015)
Geez, now someone doesn't even understand that the code they are running generates and runs dynamic SQL.What is dynamic sql?
Who is John Gault?
Interesting...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 8, 2015 at 4:23 pm
SQLRNNR (5/8/2015)
Lynn Pettis (5/8/2015)
Geez, now someone doesn't even understand that the code they are running generates and runs dynamic SQL.What is dynamic sql?
Who is John Gault?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 8, 2015 at 3:57 pm
Lynn Pettis (5/8/2015)
I must be getting cynical. Too many people are losing the ability to think for themselves and solve problems needing everything handed to them on silver platters.
To...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 8, 2015 at 3:44 pm
Steve Jones - SSC Editor (5/1/2015)
david.gugg (5/1/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 8, 2015 at 7:52 am
I have to remind everyone that changing a database to the SIMPLE Recovery Model is one of the very worst things you can do if Point-In-Time Backups are in effect...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 8, 2015 at 7:44 am
Understood. I'd have just done it all in T-SQL. The more I see about SSIS, the less I like it. Just a personal preference for me. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2015 at 8:41 pm
born2achieve (5/7/2015)
Sample data to play with
use Temp
Go
declare @master-2 table(ID int, EmplopyeeID int);
declare @Releation table (IdRelation int idenity(1,1) primary key, ParentID int,ChildID int)
declare @Logic table(ID int,name varchar(20),company varchar(20),Salary money,ValidUser bit);
insert into...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2015 at 8:27 pm
It would work as expected if you did your BULK INSERT into a table that already has an IDENTITY column. You would need to either put a view on...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2015 at 7:57 pm
Ed Wagner (5/7/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2015 at 7:40 pm
marcia.j.wilson (5/7/2015)
Jeff Moden (5/7/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2015 at 7:26 pm
Oddly enough, Jim, those are SET based operations being controlled by a loop or "cursor"... just smaller sets. It's a tried and true method for doing (for example) massive...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2015 at 6:54 pm
Viewing 15 posts - 20,836 through 20,850 (of 59,098 total)