Viewing 15 posts - 50,821 through 50,835 (of 59,098 total)
So, you're happy with the speed of a While loop? Might as well use a "fire hose" cursor if you're gonna do that.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 8:02 pm
It only takes bulk admin privs... if your DBA won't allow you to have it, (s)he can give you privs to run a job that uses a proxy.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 7:59 pm
Actually... no... not using Bulk Insert or BCP... they both require the headers to have the same number of delimiters as the "body" of the file even when you tell...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 7:52 pm
You bet... thanks for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 7:40 pm
Obviously, you'll need to group by something else other than the invoice number... can't you group by the customer number of something similar that spans invoices?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 7:38 pm
No way to do it in a view in SQL Server 2000 and actually have some performance left. How many rows are you talking about?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 7:35 pm
Adding a computed column takes 0 ms and no extra disk space. If the column is precise and deterministic, adding an index to it will take about half an...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 7:29 pm
What's wrong with using the Profiler?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 6:36 pm
Something "like" this should do it...
IF Column1 LIKE '[0-9][0-9]-[A-Z][A-Z]-[0-9][0-9]-[0-9][0-9][0-9][0-9]'
BEGIN
---your code here---
...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 6:34 pm
True NULLs frequently show up as "nothing" and you shouldn't change that. If you want to see the word 'NULL', then write a SELECT that changes null values to...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 6:30 pm
Like this...
SELECT *
FROM (--==== Test data
SELECT '43161234' AS Value UNION ALL
...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 6:24 pm
dfalso (5/1/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 5:40 pm
Understood.
You guys go ahead and call it whatever you want...that's the beauty of programming. I named it after the 2nd definition of "Tally" found here...
http://education.yahoo.com/reference/dictionary/entry/tally
... which says...
2.a. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 5:14 pm
I love testing... got any test code you'd like to share? Paging is always one of those PITA's that people (not you) have a hard time getting their arms...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 1:13 pm
Same thing applies, Lynn... let the developers do what they want in Dev... keep them out of QA, UAT, and Prod.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2008 at 1:04 pm
Viewing 15 posts - 50,821 through 50,835 (of 59,098 total)