Viewing 15 posts - 41,686 through 41,700 (of 59,067 total)
I'm not sure this will help but this is why I like BCP... you can tell it to put the bad lines of data in an isolation file.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 5:24 pm
The exe would first have to be in a directory where SQL Server has privs. Then, you should either add that directory to the permanent PATH or explicitly name...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 5:17 pm
Understood. But I don't believe one should make that assumption which is why I asked the question. Hopefully the OP will know.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 5:13 pm
All of the methods shown so far keep "ties" for the MAX if they are duplicated. Do you want to keep the ties?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 4:29 pm
I agree with Wayne and I'll go a bit further. Study ALL of the functions in SQL Server. At least learn what they do so you know what...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 4:02 pm
It takes the one thing that so few are actually willing to give... time. Pouring over books and articles will certainly give you some good ideas (and bad ones,...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 3:29 pm
TheSQLGuru (10/2/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 3:11 pm
Matt Whitfield (10/2/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 3:05 pm
Sure... most of this code is just to setup the test. The last SQL paragraph is the GAP checker.
DROP TABLE #MyTest
GO
--===== Create and populate a 1,000,000 row test table.
...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 1:02 pm
Matt Whitfield (10/2/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 12:47 pm
Then like Matt Miller is saying, whatever login the server is using, it doesn't have privs to the file. Find out what login the server is using and see...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 12:33 pm
SELECT * FROM Table1 WHERE ID = @ID AND (@a> 0 OR @b-2>0)
... would fix a part of that but understood on the no return even if it has no...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 12:25 pm
Thanks for the feedback, Sally.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 12:16 pm
naveenreddy.84 (10/1/2009)
Its a local drive!!!
Heh... local to what? Your workstation or the server?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 12:15 pm
Thanks for the feedback and the excellent observation, Adam. That's also why I prefer the Cross Tab method over the Pivot method. If they're both the same for...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2009 at 11:27 am
Viewing 15 posts - 41,686 through 41,700 (of 59,067 total)