Viewing 15 posts - 2,791 through 2,805 (of 2,894 total)
Lowell (6/10/2010)
--remove preceeding...
June 10, 2010 at 10:19 am
You better to check if the value has ';' character in front and at the end. So I suggest the following (together with table and data setup, which you better...
June 10, 2010 at 9:34 am
You can use OUTPUT clause.
INSERT Table1 (Col1, Col2, ... Coln)
OUTPUT INSERTED.Col1, [anything else]
INTO Table2
VALUES (Val1, Val2, ......
June 10, 2010 at 7:00 am
kasi.alagu (6/6/2010)
...Error: Unknown argument '+' on command line.
...
Please guide me.
This error is due to the fact that you missing some quotes in the select statement! Somewhere in your select the...
June 7, 2010 at 2:09 am
Can you specify exactly how you want your results to look like? Do you want comas in results?
Is this what you want?:
;WITH PP
AS
(
SELECT OrderID, InsuranceName, ROW_NUMBER()...
June 4, 2010 at 12:27 pm
Do you want a real blank or a space? Using varchar you can have the space in the middle of string like ', ,' but not in the...
June 4, 2010 at 9:56 am
This will not need temp tables and will do similar job:
;WITH PP
AS
(
SELECT OrderID, InsuranceName, ROW_NUMBER() OVER(Partition By OrderID Order By OrderID, InsuranceName) AS PayerPartition
...
June 4, 2010 at 9:37 am
Please provide create table and test data insert scripts in order to setup your case.
June 4, 2010 at 7:56 am
I have no idea what you are trying to do, but the error you have is not in your bcp statement but in SELECT itself and it is due to...
June 4, 2010 at 4:45 am
I couldn't believe your performance figures and I've desided to test myself.
After loading 140707 records into PowerItem table and adding index on PowerUpdateID (which I'm sure you have, otherwise your...
June 3, 2010 at 6:10 am
biren (6/2/2010)
Eugene Elutin (6/2/2010)
It copies some records from Table_B to Table_A (condition is in WHERE clause) and at the same time it deletes these...
June 2, 2010 at 2:04 pm
Basically, my sample does exactly the same:
It copies some records from Table_B to Table_A (condition is in WHERE clause) and at the same time it deletes these copied records from...
June 2, 2010 at 11:14 am
Dom,
Ref: AND (@Date IS NULL OR ISNULL(Dates, @Date) >= @Date)
Yes, we need to ignore NULLs in the Dates column in this filter, otherwise these records will not...
June 2, 2010 at 11:08 am
That is easy!
This part supposed to be provided by You to help set up your case tables and sample data.
😀
June 2, 2010 at 10:54 am
Try this method:
create table #Table_A
( id int not null identity (1,1)
,val varchar(30)
)
create table #Table_B
( id int not null identity (1,1)
,val varchar(30)
)
insert...
June 2, 2010 at 10:45 am
Viewing 15 posts - 2,791 through 2,805 (of 2,894 total)