Viewing 15 posts - 766 through 780 (of 3,011 total)
Eric M Russell (7/14/2011)
Craig Farrell (7/14/2011)
Eric M Russell (7/14/2011)
July 15, 2011 at 9:56 am
In memory databases don't do well when the power goes off.
July 14, 2011 at 4:04 pm
Facebook is a good way to slightly interact with relatives and others that you don't really want to have that much to do with while keeping up the illusion that...
July 12, 2011 at 2:49 pm
The statement fits in nvarchar(max) OK, you just can't see all of it using the PRINT command.
If you really need to print the entire statement, you can use the SUBSTRING...
June 29, 2011 at 3:33 pm
All the links seem to say that the database limit is 4 GB (or 10 GB on some links), but I haven't seen anything that says your application has a...
June 29, 2011 at 3:08 pm
You run this query in your database to calculate the number of striped backup files to create so that all can fit within the 4 GB limit. Then use...
June 29, 2011 at 2:41 pm
YSLGuru (6/27/2011)
Michael Valentine Jones (6/23/2011)
Get Server Database File Information
Thanks for the link. I have a possibly dumb question though. When testing the code out I ran...
June 27, 2011 at 3:27 pm
If you mean UPDATE STATISTICS WITH FULLSCAN, weekly or monthly is probably enough for most situations.
However, I often setup a job to run nightly to run EXECUTE SP_UPDATESTATS in active...
June 26, 2011 at 7:30 pm
Sounds like a software vendor worried that someone may look at their database design and stored procedure.
June 24, 2011 at 8:07 am
Backing Up and Restoring Databases in SQL Server
http://msdn.microsoft.com/en-us/library/ms187048(v=SQL.100).aspx
June 23, 2011 at 3:19 pm
Get Server Database File Information
June 23, 2011 at 2:24 pm
A CASE expression can only return a single data type, so you will always get a NUMERIC(13,3).
June 22, 2011 at 11:36 pm
You should be able to do the conversion "inline" in your code without a UDF.
select
a.*,
NewDT = convert(datetime,left(a.DT,23)),
NewDTPlusOffset=
case left(right(a.DT,6),1)
when '-'
then convert(datetime,left(a.DT,23))-convert(datetime,right(a.DT,5))
else convert(datetime,left(a.DT,23))+convert(datetime,right(a.DT,5))
end
from
( --Test Data
select DT = '2011-06-15T23:13:02.000-04:00'union all
select DT = '2011-06-15T23:13:02.000+06:00'
)...
June 22, 2011 at 9:46 am
I doubt more regulations would do any good.
Any new regulations are likely to be written in such a way as to increase the profits of various vendors selling security consulting...
June 22, 2011 at 7:25 am
The Dixie Flatline (6/22/2011)
However, my real reason for posting was to point out the true complexity of coding a CASE based solution with a large number of columns vs. the...
June 22, 2011 at 7:16 am
Viewing 15 posts - 766 through 780 (of 3,011 total)