Viewing 14 posts - 106 through 119 (of 119 total)
please elaborate the select statemet howshould i use the max statement
June 27, 2011 at 4:14 am
vk-kirov (12/1/2010)
Christian Buettner-167247 (12/1/2010)
Nils Gustav Stråbø (12/1/2010)
Both the definition and the comments can be retrieved from sys.syscomments viewAre you sure about that? I can't see any comments in that view.
Comments...
December 10, 2010 at 4:10 am
that's Really great i read that article such a wonder full information lot of thanks
September 9, 2010 at 7:15 am
sorry for the late reply
Mark-101232 (8/24/2010)
SET DATEFORMAT YMD
--Sample table
DECLARE @TABLE AS TABLE(
[RID] INT,
[EMID] INT,
[In Time] DATETIME,
[Out Time] DATETIME)
--Insert sample data
INSERT INTO @TABLE
SELECT 62, 12, '2005-08-18 06:02:00', '2005-08-18 06:31:00'
UNION ALL...
August 28, 2010 at 5:28 am
thanks to your snippet hopes finally i found a way to solve it
i tried this snippet pretty close to me the resultant show all the records with the same...
August 24, 2010 at 5:45 am
--Sample table
DECLARE @TABLE AS TABLE(
[RID] INT,
[EMID] INT,
[In Time] DATETIME,
[Out Time] DATETIME)
--Insert sample data
INSERT INTO @TABLE
Select 46,19,'Aug 16 2005 10:49AM','Aug 16 2005 11:05AM'
Union All Select 47,19,'Aug 16 2005 11:23AM','Aug...
August 24, 2010 at 5:28 am
thanks for the immediate reply
i am extremely sorry i think i am wrong there
this is what my need
62122005-08-18 06:02:002005-08-18 06:31:00
63122005-08-18 06:31:002005-08-18 06:33:00
64122005-08-18 06:33:002005-08-18 06:34:00
66122005-08-18 08:02:002005-08-18 08:31:00
67122005-08-18 08:31:002005-08-18 08:33:00
68122005-08-18 08:33:002005-08-18...
August 24, 2010 at 4:50 am
wow that's great simple and easy chris
i got it thanks for your reply
July 13, 2010 at 9:13 am
sorry, i think i am not clear there
i want to delete the records in the batchstock table if the combination of the slno and itemid not available in the #tmp...
July 13, 2010 at 9:09 am
thanks for your immediate response
is this query is correct
DELETE BatchStock
FROM #tmp t
...
July 13, 2010 at 8:48 am
thanks phil finally i have succeed it but there is some security issues there, will it be controllable
July 10, 2010 at 8:55 am
ok, now using the sql profiler i found that the first query is faster and the loas t one is lettle bit of faster that the first one so the...
April 24, 2010 at 8:52 am
that's great immediate reply,
i have attached it
i execute this 4 statement,
i didn't know which one is better
April 24, 2010 at 8:10 am
Viewing 14 posts - 106 through 119 (of 119 total)