Viewing 9 posts - 1 through 9 (of 9 total)
Hi Wayne,
First up apologies for not posting the scripts for the test data creation.
And thanks for the tips for sharing those articles on Cross Tab & PIVOT. Although the...
July 31, 2015 at 4:49 am
Hi Tom,
As I mentioned there are several tables to join and one calculation feeds another table \ calculation.
So IMO (if possible) doing all that in one SQL will make...
March 16, 2014 at 1:27 pm
your question isn't quite specific!
What tables you are outer joining on? Based on your output it doesn't look like you are using Table A at all.
August 20, 2013 at 8:59 pm
Cheers! I just wanted to format the ugly looking SQL in @sql while someone was watching over my shoulder and then I had a light bulb moment ...
May 22, 2013 at 2:44 pm
Hi Guys,
Thanks for all your suggestions.
I have spotted the problem - it is nothing to do with the permission, bcp, cmdshell, sybase (or anything as thought about ......)
What it turns...
May 21, 2013 at 9:08 pm
OK - so I modified the stored proc a bit to have something like this -
EXECUTE @RESULT = MASTER..xp_cmdshell 'bcp "SELECT COL1, COL2 FROM [##results]" queryout "E:\test\TEST1.csv" -c -t,...
May 21, 2013 at 6:00 pm
Hi David,
We are no where near Sybase. -S / server option I have already tried but I guess it doesn't make much difference as the whole deal is on...
May 21, 2013 at 4:22 pm
Lowell / Steve,
Some good thoughts - the proxy account I had setup is using the admin user. So that should be fine I guess.
I tried the dir test e.g....
May 21, 2013 at 3:32 pm
Hi Steve,
I thought about that and I had checked the permission - seems fine (SQL Server users have special permission to create files / append data etc). Also I would...
May 21, 2013 at 2:35 pm
Viewing 9 posts - 1 through 9 (of 9 total)