Viewing 15 posts - 736 through 750 (of 921 total)
You should remove the login entirely. Seldom should all network admins also be SQL admins. Even if you're not clustered, the instructions here are relevant:
http://support.microsoft.com/?id=263712
--Jonathan
October 9, 2003 at 6:55 pm
http://support.microsoft.com/?id=246133
--Jonathan
October 9, 2003 at 6:12 pm
Must be in master, prefaced with "fn_" and added to system schema, e.g.:
USE master
go
CREATE FUNCTION fn_Pad(@i bigint, @p tinyint)
RETURNS varchar(20)
AS
BEGIN
RETURN RIGHT(REPLICATE('0',@p) + CAST(@i AS...
October 9, 2003 at 5:35 pm
If you're "saving" the local data every half-hour, don't you already have it locally and therefore do not need to "return" it from the server?
I wouldn't use a view or...
October 9, 2003 at 3:01 pm
Seems like a good candidate for an artificial key: a four byte integer (or perhaps a two byte smallinteger) rather than a 16 byte key of concatenated char columns. ...
October 9, 2003 at 2:56 pm
I don't have enough information to give you a definitive suggestion, but perhaps create a units table and a conversions table and then have columns for both measurement and unit...
October 9, 2003 at 2:49 pm
quote:
I appreciate the conversion statement but I really need to know how to autoatically populate that field date_entered without supplying the date...
October 9, 2003 at 11:28 am
Frank--
Yes, we seem to have interpreted the question differently.
Couldn't your loop be replaced by just a set-based solution?
WHERE @sz1 LIKE '%[0-9]%'
Or, more to the point of...
October 9, 2003 at 8:32 am
WHERE ISNUMERIC(STUFF(ColName,1,CHARINDEX('-',ColName),'')) = 1
--Jonathan
October 9, 2003 at 7:59 am
The methods oulined here:
http://support.microsoft.com/?kbid=186133
will give you "golf tournament" types of ranking, where ties get the same rank and then skip the next rank number. Test the performance vs. your...
October 8, 2003 at 3:39 pm
quote:
If you set SQL Server memory to be dynamically allocated, shouldn't it automatically leave memory for the O/S, etc.?
October 8, 2003 at 3:03 pm
You've chosen an "Active Subset" in the upper listbox of BOL's Index pane. Simply choose the first entry (Entire Collection) in the listbox. This setting is saved in...
October 8, 2003 at 2:12 pm
quote:
I need the row except when both NOTs are true. As it stands I don't get the row if either NOT is...
October 8, 2003 at 1:51 pm
My extra-sensory perception tells me you are in the Mountain time zone of North America.
UNIX time is Universal (nee GMT, AKA Zulu) time, so you do need to adjust to...
October 8, 2003 at 12:23 pm
If by "the current date" you mean including the current time, then just:
CHECK (ColumnName BETWEEN GETDATE() AND DATEADD(yy,2,GETDATE()))
Otherwise, perhaps something like this:
CHECK...
October 8, 2003 at 11:47 am
Viewing 15 posts - 736 through 750 (of 921 total)