Viewing 15 posts - 976 through 990 (of 992 total)
That may well be true, but I've read "somewhere" (might've even be a SQL server book) that you could make something like 10million GUIDs a second before they would repeat...
June 24, 2004 at 5:42 am
Whilst it may not be totally relevant, you should always (according to several articles & threads on this site) have a clustered index on your table - then the data...
March 21, 2004 at 3:17 am
I just replied to the message prior to this one in the forum http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=49&messageid=107197
The solution I gave there should help you with this - set based, no cursors or...
March 20, 2004 at 5:06 am
I had a similar situation with allowing users to create their own columns in a Doc Management System.
Something along the lines of
select ProductID,
(select Value from tblProductAttribute...
March 20, 2004 at 4:55 am
Why not do something like a
select distinct * --often nicer to specify col names
from MyTable
into #MyTempTable
then truncate/delete all data from your original table and insert the now distinct data back...
February 9, 2004 at 6:12 am
I generally use the rule that if you are performing any maths on the number, or if it represents a quantity, etc, then store it as int (or numeric, etc)......
October 28, 2003 at 2:12 am
I have the same problem as described by Phillip Kelly.
I chose (for the clustering question) the correct answer in MS Outlook which took me to a webpage saying that it...
June 5, 2003 at 10:07 pm
Also another reason for nesting stored procs is to avoid potential recompilation.
Eg, you might have a stored proc with 5 lines of code that can often cause recompilation...
It is better...
May 22, 2003 at 1:49 am
Up until about two months ago, I thought it was totally silly and had very little use... But, one, I hope "clever" <g>, of them did spring to mind.
I've been...
May 18, 2003 at 7:14 pm
I thought that timestamp values were only guaranteed to be unique within a single table, not an entire database. In either case, you still shouldn't have that problem. ...
May 15, 2003 at 1:27 am
I've got my application making views of the data called (for example)
fred.dataView
joe.dataView
Thus when the user is logged in running ad-hoc queries (mainly for reporting purposes with Crystal) Fred sees only...
May 11, 2003 at 10:22 pm
Instead of writing looping scripts for fixing logins, why not just use the auto_fix parameter? (See BOL)
Ian
May 11, 2003 at 10:16 pm
I think I've noticed a bit of confusion regarding x-log backups and differential backups. For a differential backup strategy, you can do a full backup weekly, then a differential...
May 11, 2003 at 10:13 pm
How exactly are you checking for "new records"? Some sort of date field? If so, have you ensured that field is not being updated by some other means?
Also,...
May 11, 2003 at 10:04 pm
Been getting really frustrated to have this run in under several minutes to return the rows between 20 & 40 in the database. In the end I have resorted...
May 8, 2003 at 8:29 am
Viewing 15 posts - 976 through 990 (of 992 total)