Viewing 15 posts - 38,731 through 38,745 (of 59,098 total)
Actually, OPENROWSET requires the data to be fairly solid. True that it's more forgiving than BULK INSERT and BCP especially when it comes to how the first row of...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 7:03 am
Carlos Shoji-387174 (9/23/2007)
Very good article!Is there any way to do a similar thing with SQL Server 2000?
Thanks.
Kind of... Please see the following article with the understanding that it's limited to...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:57 am
The following two items in your code above...
and a.root_claim_id < b.root_claim_id --original claim ID is less than the duplim ID
and a.claidate <= b.cl_date --original received before duplicate received
... probably consitute...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:51 am
Vijay Sinha (4/25/2010)
How To Get Last Inserted Record Value In SQL ServerThe table have no Primary key, identity, it have only one column "Name"(Column Name)
Without either a date column or...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:42 am
chandrashekarthota (4/26/2010)
closing down my site for few weeks just because of plagiarism and I have
learned...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:23 am
david.wright-948385 (4/26/2010)
Anyone else here find themselves keeping the meeting on track, identifying milestones,...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2010 at 6:14 am
ColdCoffee (4/24/2010)
But i got a doubt...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2010 at 10:48 am
eseosaoregie (4/23/2010)
Thanks jeff. Will try it this weekend and let you know how it runs. Much appreciated
Since you PM'd me several times on the subject and half the weekend has...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 6:24 pm
SQL_NuB (4/21/2010)
Jeff Moden (4/19/2010)
SQL_NuB (4/19/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 6:20 pm
lmu92 (4/24/2010)
I just had to get used to it in order to get those "man in the middle" out...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 5:45 pm
I put the OP's files in C:\Temp to have the following code run...
--DROP TABLE #Staging,#Header,#Data
--GO
--===== Supress auto display of rowcounts
SET NOCOUNT ON;
--===== Declare local variables
DECLARE @pFullPath...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 5:38 pm
ColdCoffee (4/24/2010)
I am also quite interested in GSquared's import to temp table solution, i will give a shot at this in some time!
BWAA-HAA!!! Try it on the Sample2.CSV file...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 3:42 pm
keyun (4/24/2010)
Here is my sample code where i found out how to do cross tab by using 92's suggestion on RoW_NUMBER() function.
DROP TABLE ##TBL1
CREATE TABLE ##TBL1
(Accountvarchar(20),
Prod_codenumeric(18,0),
AmountMoney
)
INSERT INTO...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 2:49 pm
Edward-445599 (11/3/2008)
Hi is there a function which determines if a varchar is a number?E.g.
Select * from table where filed <> to a number
Let's ask a question here... is the...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 2:42 pm
I equate "Cloud Storage" to child care... who in their right mind would give their kids to someone they've never met and send them to a place they don't know...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2010 at 2:34 pm
Viewing 15 posts - 38,731 through 38,745 (of 59,098 total)