Viewing 15 posts - 46 through 60 (of 95 total)
I don't know if you figured it out already or you still need help, but I know I don't quite understand the question.
September 10, 2008 at 1:05 pm
Remember to put some salt on that hash, incase someone get ahold of your DB some how. SHA1 should be plenty for storing someone's password. HASH's work great anytime you...
September 10, 2008 at 11:58 am
If you stored date time in the '2008-08-26 00:00:00' format in your varchar(64) column instead of 8/29/2008 10:28:39 AM you could then just do string comparisons instead of converting...
September 5, 2008 at 10:01 am
It is my understanding that nolock only helps when you have a write lock on a row/table. C# has something simular for accessing objects in a multithreaded environment. You can...
September 4, 2008 at 1:50 pm
The customer is checking their raid array and will get back to us. They think there may be some sort of hardware issue; but we won't know until they get...
September 4, 2008 at 11:31 am
I could see HT causing cache thrashing during heavy usage. Or just lock SQL server to only work with the first half-set of CPU's listed in taskman, as physical CPUs...
September 4, 2008 at 8:42 am
Just tossing this out there, no idea if it's related. Does SQL treat large varchars as text? If so, I wouldn't think you could 'order by' because SQL won't compare...
September 2, 2008 at 8:09 am
the only time you will get a 'null' result from passing a non-matching join is in with outer joins. If you have something in the where clause and you have...
August 28, 2008 at 1:59 pm
I never had to work with transactions, but we're working with the 'conception'
begin
declare vars...
begin try
some stuff
...
August 28, 2008 at 1:31 pm
I noticed that all of your comparisons are in the format
AND a.POST_DIR =
(CASE...
August 28, 2008 at 1:19 pm
kind of off topic but when you said
it is just a time stamp, thus all distinct
are time stamps guaranteed unique or 'just as long as you don't do...
August 28, 2008 at 10:37 am
an example might be finding students with the same name but different user
select *
from tblStudent s1
inner join tblStudent s2 on s1.firstname = s2.firstname
and s1.lastname = s2.lastname
...
August 28, 2008 at 10:22 am
Create a 3 column table
create table Random (number int, Entropy bigint, status tiny)
insert 0-9999 into number
update Entropy with select convert(bigint,HashBytes('SHA1', convert(varchar(255), number )+convert(varchar, getdate(),121) ))
whenever you select a 'random' number...
August 15, 2008 at 12:39 pm
According to reddevnews.com
"...stemming as they do from design trade-offs, development deadlines, functional requirements, a lack of imagination or developer indifference."
Even MS developers blame it on functionality requirements(trade off) or poor...
August 14, 2008 at 12:15 pm
Last timeI created a web app, there was a procedure to test to see if incoming data was valid SQL and if so, to throw an exception. How does this...
August 14, 2008 at 7:47 am
Viewing 15 posts - 46 through 60 (of 95 total)