Viewing 15 posts - 7,876 through 7,890 (of 13,882 total)
cmc123 (11/23/2015)
can someone help me in writting a cursor with following update statements .This statement will updates each database in an instance of SQL .
UPDATE dbo.Property
SET USERTXT1 =
(SELECT...
November 23, 2015 at 2:52 pm
Your question is not clear to me. Please provide sample data, DDL and desired results in a consumable form, as described in the first link in my signature.
November 21, 2015 at 9:12 am
caojunhe24 (11/20/2015)
try what?
Erm. The hyperlink in my post.
November 20, 2015 at 10:09 am
caojunhe24 (11/20/2015)
I am using M:\Products & Services\Business Planning & Analysis\ProjectOzRawDataFile_DoNotDelete_Atif\RawData\SAPARawData_PatBell in my package not UNC path I guess so if I have to use UNC path I have to...
November 20, 2015 at 8:09 am
John Meyer-239467 (11/20/2015)
November 20, 2015 at 7:39 am
caojunhe24 (11/20/2015)
November 20, 2015 at 7:24 am
Can you confirm that you are using a UNC path (\\server\share\...) and NOT a drive letter (X:\data\...) ?
November 20, 2015 at 6:12 am
There are many more but, just to wet the appetite for other possibilities...
Sounds a bit too damp for my liking. 'Whet' is the word I think you were looking for...
November 20, 2015 at 2:00 am
First, you can't use an IF in a SELECT clause, you do need to use the CASE.
A possible alternative is iff(), which can be used in a SELECT:
select iif(datename(weekday,...
November 20, 2015 at 12:38 am
Fernando Margueirat-273899 (11/19/2015)
Phil Parkin (11/19/2015)
Jack (11/18/2015)
November 19, 2015 at 12:26 pm
Jack (11/18/2015)
November 19, 2015 at 11:59 am
drew.allen (11/19/2015)
November 19, 2015 at 10:31 am
If you create a unique index on GroupID & PayorID, does that fix it?
November 19, 2015 at 7:23 am
The caveat to this is that if someone created the DB and specified upon creation that the file extensions should be .sql instead of mdf/ndf/ldf
Shudder.
November 19, 2015 at 6:57 am
Error? Or message box?
I tested it this morning and it worked perfectly.
Try with an Excel file on your local hard disk. Maybe you have some network or permissions issues going...
November 18, 2015 at 9:42 am
Viewing 15 posts - 7,876 through 7,890 (of 13,882 total)