Viewing 15 posts - 91 through 105 (of 203 total)
Good question, thank you. I really hope that nobody actually thinks that it is OK to abuse the database just because the engine allows it.
Oleg
June 2, 2010 at 8:21 pm
I have read the blog by Lynn Pettis in the past, the conversions are definitely very useful. The convert function is simple enough though and should be OK to use...
June 2, 2010 at 4:22 pm
Paul White NZ (6/2/2010)
Oleg Netchaev (6/2/2010)
C. VLFs are overwritten with zeroes? No, in Windows nothing is overwritten with zeroes as there is no need to do that.
Hey Oleg,
Log files are...
June 2, 2010 at 4:06 pm
Rups (6/2/2010)
Use Len(Ltrim(Rtrim(Column_Name))) in your Check Constraint
This is a good solution, but rtrim is not needed. Len function ignores the trailing (but not leading) spaces. In other words len('hello ...
June 2, 2010 at 3:34 pm
You have 2 very small problems:
First, there is no need to cast HashConcatenateString as varbinary(20) because it is already spelled out and therefore, if you cast it to varbinary(20)...
June 2, 2010 at 3:08 pm
Something like this should do it:
select convert(varchar(10), getDate(), 120)
The above returns 2010-06-02 when ran at any time today.
Hope this helps.
June 2, 2010 at 2:32 pm
This is a great question, thank you Paul. It would have been very difficult to answer it correctly, but fortunately for me, incorrect options were clearly incorrect, and therefore it...
June 2, 2010 at 2:11 pm
This is a great question, thank you Ron!
Hats off to the database engine team on this one, the implementation of the seeding next value in the direction of open waters...
May 30, 2010 at 7:23 pm
I saw on other posts yesterday that line 359 hints that the database is near corruption, I just hope that this is not the case.
Oleg
May 21, 2010 at 8:58 am
Paul White NZ (5/21/2010)
Oleg Netchaev (5/20/2010)
...The problem with table variable is that you cannot create a non-clustered index on it...
Well you can, it just has to be unique and created...
May 21, 2010 at 8:45 am
honza.mf (5/20/2010)
Thank you, Hugo, for your help.Lot of people cannot distinguish complete XML file and XML segment.
Because they cannot, you can ask Steve to edit one of the lines...
May 20, 2010 at 3:19 pm
I had to debug a painfully similar script about a year ago. The problem we had was limited to the enormous log file growth and ridiculously slow execution times. The...
May 20, 2010 at 10:33 am
BaldingLoopMan (5/20/2010)
equally as odd is the fact that my qury anal conn shows disconnected when it errors.
There is nothing odd about the connection. Sev 20 errors do exactly that. From...
May 20, 2010 at 10:07 am
This is an excellent question, thank you. I thoroughly enjoyed it because I found it to be pretty difficult to answer correctly. I suspect that "most characters illegal" means all...
May 19, 2010 at 9:53 pm
To do the opposite, you can simply get the difference in seconds between yor date column value and Jan 1 1970, i.e.
select
datediff(second, '19700101', '12/10/2009 6:34 PM') timestart,
datediff(second, '19700101', '12/10/2009 7:34...
May 19, 2010 at 9:24 am
Viewing 15 posts - 91 through 105 (of 203 total)