Viewing 15 posts - 241 through 255 (of 375 total)
"Minimal thinking effort is always useful in programming"
My theory goes:
The entire human progress was driven by the lazy ones.
The whole objective of the...
June 13, 2007 at 7:02 pm
Another reason to format the datetime on the GUI is sorting. If you return a dataset with a datetime column and you present it in the data grid you have...
June 13, 2007 at 4:47 pm
If you need the size of the tables including the index pages then use this
SELECT name, dpages, reserved, rows
FROM sysindexes
WHERE indid = 0
AND impid = -1
ORDER BY name
Where reserved is...
June 13, 2007 at 4:11 pm
Size of a table is not a precise requirement but if you run this you should get the number of datapages used by each table and number of records.
DBCC UPDATEUSAGE...
June 13, 2007 at 4:07 pm
SQLBill,
Thanks for the reply.
Since the app and the server reside on the same computer I was just trying to get an opinion if one of the authentication methods (Windows or SQL) is...
June 12, 2007 at 7:23 pm
Sergiy,
Of course I noticed the post that fixed the original function. This is the "-Add more of the red tint. -Worked fine, thanks" exchange in my little "non-technical' recap.
The biggest...
June 12, 2007 at 7:07 pm
Let me recap this for you using non technical terms
- I have a red paint but the color comes out pink.
- Add more of the red tint.
- Worked fine, thanks.
-...
June 12, 2007 at 8:42 am
Instead of using #temp table use the table variable. It should work faster and is not creating any locks on the master db. And yes, sometimes when the initial record...
June 12, 2007 at 6:36 am
If Tomm's solution works then this might be a bit faster because it should only do one pass thru the table. Since I have no data I could not test...
June 11, 2007 at 12:41 pm
Scott,
If you do not bulk insert you may just use a SP that will accept data for both tables and inside your SP you insert part of the data into...
June 11, 2007 at 12:28 pm
Oh boy, I think there is more then 5 of us watching this...
I just don't understand what the argument is all about anymore....
June 11, 2007 at 12:13 pm
The problem might be in your sp_SearchText.
As I mentioned above you should not use the ROUTINES view to search the text of a SP. (To see the code INFORMATION_SCHEMA.ROUTINES uses -...
June 11, 2007 at 10:41 am
In this case just replace the
'%[^''a-Z .,-]%'
with this
'%[^' + CHAR(128) + '-' + CHAR(255) + ']%'
and see if it works for you
June 8, 2007 at 11:00 am
Is something like this you are looking for?
SELECT S.item, MAX(Invoicedate)
FROM Stock AS S
LEFT OUTER JOIN Invoicedet AS I ON I.item = S.item
GROUP BY S.item
HAVING ISNULL(DATEDIFF(day, MAX(Invoicedate), getdate()), 61) >...
June 8, 2007 at 8:13 am
Very logical post but totally misses the point.
THE BANKERS ROUNDING IS NOT ABOUT PRECISION!!!
It is about distribution. It is STATISTICAL function.
This disussion was fun for a while but it is...
June 8, 2007 at 7:19 am
Viewing 15 posts - 241 through 255 (of 375 total)