Viewing 15 posts - 3,211 through 3,225 (of 8,416 total)
urzsuresh (5/30/2010)
Its was nice. But one clariffication. here Starttime and endtime is nchar(10) type.
It is never a good idea to store date and time data in string format.
i need to...
May 31, 2010 at 4:26 am
vijay.s (5/30/2010)
Dear Paul,What exactly thoumb rule you followed with this query.
Can u explain.
Regards
Vijay
Sorry I don't understand the question.
May 31, 2010 at 4:15 am
This was covered in depth in another thread recently.
Just about every available method is discussed, including using Tally tables, a custom CLR aggregate, and a very fast way to find...
May 30, 2010 at 7:39 am
Well that all sounds very much like a problem that can be solved and optimised with tweaked 'running totals' code or a custom aggregate.
You don't need to post the exact...
May 30, 2010 at 2:10 am
Indianrock (5/29/2010)
Our IT management has talked about "snap" capabilities with our Netapp disk device. This reminds me of my post the other day about "DBA - Phantom job title."
Exactly -...
May 30, 2010 at 12:02 am
On the flip side of this particular coin, what is worse: DBA by committee or a single DBA that posts the sort of questions we see on here regularly? ...
May 29, 2010 at 11:58 pm
Jeff Moden (5/29/2010)
May 29, 2010 at 11:43 pm
MeltonDBA (5/29/2010)
Bug got reported to Microsoft back in December 2008, although Microsoft did not post a response until April 2009.
Excellent find! I voted it up. There's a partial...
May 29, 2010 at 11:39 pm
Jeff Moden (5/29/2010)
Did you notice near the bottom of the original post where it says "SQL 2000"? I hate it when they do that on a 2k8 forum.
Gah! ...
May 29, 2010 at 11:25 pm
-- Shift information
CREATE TABLE dbo.Shift
(
shift_id INTEGER NOT NULL
...
May 29, 2010 at 11:11 am
It seems to me that the confusion has arisen through a misreading of the INSERT syntax, which does allow for a WITH common_table_expression (see http://msdn.microsoft.com/en-us/library/ms174335.aspx).
The second point is that a...
May 29, 2010 at 10:13 am
Itzik Ben-Gan ran a great series of articles on the maximum concurrent sessions problem a few months back.
Anyone with a subscription can view the final article at http://www.sqlmag.com/article/tsql3/calculating-concurrent-sessions-part-3.aspx
The fastest T-SQL...
May 29, 2010 at 9:43 am
This version is more efficient:
SELECT This.ClientCode,
This.FlowDate,
This.TempletID,
...
May 29, 2010 at 9:28 am
hester84 (5/28/2010)
When a stored procedure creates a temp table #MyTable, the table name in tempdb is made unique by adding a number, #MyTable_____________________000000004A6What is the source of that number?
To answer...
May 29, 2010 at 9:09 am
Jeffrey Williams-493691 (5/28/2010)
IF object_id('tempdb..#DeleteUserID') IS NULL
BEGIN
-- your code here
...
May 29, 2010 at 9:07 am
Viewing 15 posts - 3,211 through 3,225 (of 8,416 total)