Viewing 15 posts - 43,456 through 43,470 (of 59,102 total)
anandhakrishnabca (6/12/2009)
I want to validate the given number. how to check for the following requirements in sql server 2005
1) how to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 10:25 pm
srikale (6/11/2009)
I want to insert a new column , check while inserting values.
For example : I have a table TBL with 2 columns , but...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 10:22 pm
I'm not sure why people think they need to do everything in a single query. Use the input parameters to get only the data you need from the properties...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 10:11 pm
Just in case...
[font="Courier New"] SELECT DATEADD(wk,DATEDIFF(wk,-2,'07/13/2008')+t.Number,-2)
FROM Master.dbo.spt_Values t
WHERE t.Type = 'P'
AND t.Number < DATEDIFF(wk,'07/13/2008','08/13/2008')+1
AND DATEADD(wk,DATEDIFF(wk,-2,'07/13/2008')+t.Number,-2) <= '08/13/2008'[/font]
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:49 pm
No... SQL Server 2000 doesn't have WITH/CTE. Instead, use a "Derived Table" which is nearly identical in most cases. A derived table is just like a CTE in that it's...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:39 pm
darryl (6/12/2009)
I am working on some sql to be used in a report. I have a transaction table called prtrxp. This table has about 100 fields....
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:31 pm
Ok... problem solved... you think. A better question is, what are you using a cursor for?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:23 pm
I believe I'd tell the manager off. It's not his neck if data is inappropriately deleted... it's mine.
I would insist on moving the data to a subdirectory off the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:22 pm
If all you want is to calculate week days, there's a very short function at the following article.
http://www.sqlservercentral.com/articles/Advanced+Querying/calculatingworkdays/1660/
If you want work days instead of week days, I suggest...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:06 pm
Paul McCurdy (6/12/2009)
value1 >= value2 AND value1 <= value3
was quicker by a few seconds than
value1 BETWEEN value2 AND value3
I know, not my understanding either and...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:00 pm
siboyd07 (6/10/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 8:06 pm
RBarryYoung (6/10/2009)
Jeff Moden (6/10/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 7:49 pm
Terri (6/10/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 7:36 pm
RBarryYoung (6/11/2009)
Jeff Moden (6/10/2009)
RBarryYoung (6/10/2009)
What you should be able to see however is that the Unicode .sql file is about twice the size of the Ascii one.
Any idea if SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 7:17 pm
GSquared (6/11/2009)
So far as I can tell, that's pretty much been the end result of every one of our disagreements. It's just a matter of clarification.
Heh... I concur... but...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 7:07 pm
Viewing 15 posts - 43,456 through 43,470 (of 59,102 total)