Viewing 15 posts - 1 through 15 (of 18 total)
sl.sajeev (6/23/2008)
Yes you are correct, There is something wrong with the choices i gave.
I bow to you because you demonstrate courage by submitting a QotD.
June 23, 2008 at 10:53 am
The third line will not return the results sorted as described in the question narrative or as shown in the 'should be'. The narrative specifies 'ascending order of date...
June 23, 2008 at 10:13 am
I'm wondering why user would run those two statements if PK's '1' and '99' already existed.
June 12, 2008 at 4:13 pm
I could not run your 'create's in 2000, but had-to make the COLLATE's match. Whether COLLATE'd or not, SQL 2000 throws a PK error for me on COMPETENCY whenever...
June 12, 2008 at 12:01 pm
re PL/SQL: I confess that I have been visiting the 'dark side'.
June 10, 2008 at 11:42 am
I suppose that one would use count(1) to increase the mystery in one's uncommented code.:hehe:
Here's a justification for count(1):
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1242198&SiteID=1
June 10, 2008 at 11:41 am
Says here that DATEDIFF doesn't consider DATEFIRST.
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=239958
May 28, 2008 at 8:43 am
I don't think that datediff(wk) salutes @@DateFirst.
[font="Courier New"]DateFirst StartDate EndDate DateDiff WeekDiff
--------- ----------- ----------- ----------- -----------
...
May 28, 2008 at 8:29 am
The idea is to reuse the values in the first row of each set where there is a blank?
I can name that query in one statement, but easier to describe...
May 20, 2008 at 12:18 pm
Delete the parentheses (and the resulting derivision) from your FROM clause
INSERT #CDHToDelete
SELECT CDH.CDH_RecordID
...
April 22, 2008 at 11:11 am
How to merge this into your queries?
I would use the derived table technique as a guide for creating a view which described rights for each user. Could then query on...
April 9, 2008 at 11:50 am
Are you certain that this is the section of your proc which is throwing the error? We cannot reproduce your error in this piece of code. Perhaps the...
April 9, 2008 at 10:57 am
Agreed about SSN PK and about formatted PN. I'd store SSN payload with dashes to reduce annoyance of formatting for output. (I think that post-formatting would hurt report...
March 14, 2008 at 2:51 pm
Viewing 15 posts - 1 through 15 (of 18 total)