Viewing 15 posts - 2,116 through 2,130 (of 15,381 total)
windows_mss (11/6/2015)
Business of the output is to find the number of request per LocID, avg time taken per request, min time taken & max time taken.
Combination of 1 PS...
November 6, 2015 at 1:25 pm
Here is your data turned into something consumable.
if OBJECT_ID('tempdb..#Something') is not null
drop table #Something
create table #Something
(
LogID int
, LocID int
, ClientCert varchar(20)
, MsgType varchar(10)
, MsgOut char(2)
, MessageTimeStamp datetime
, System char(3)
)
insert #Something
select...
November 6, 2015 at 12:31 pm
windows_mss (11/6/2015)
The result will be looks like as below,
LocIDClientCertificationMsgType Time Taken
NOT SPECIFIED QRY_T12 10 Sec
759NOT SPECIFIED ...
November 6, 2015 at 12:21 pm
Luis Cazares (11/6/2015)
Sean Lange (11/6/2015)
Ed Wagner (11/6/2015)
Brandie Tarvin (11/6/2015)
Greg Edwards-268690 (11/6/2015)
Eirikur Eiriksson (11/6/2015)
Three options given
1) To...
November 6, 2015 at 12:17 pm
windows_mss (11/6/2015)
I have the table with the similar set of records which mentioned below, i'm little bit confused to find the time difference between two rows of record. By Using...
November 6, 2015 at 12:03 pm
Ed Wagner (11/6/2015)
Brandie Tarvin (11/6/2015)
Greg Edwards-268690 (11/6/2015)
Eirikur Eiriksson (11/6/2015)
Three options given
1) To get the current time...
November 6, 2015 at 11:57 am
Hi and welcome to the forums! Kudos on wanting to get rid of this menace of code. You have a cursor and nested inside that cursor are two while loops....
November 6, 2015 at 10:22 am
mar.ko (11/6/2015)
Strangely, about every 3 days, the job bombs on this error:
Execute SQL script.0 - Invalid object...
November 6, 2015 at 9:40 am
xsevensinzx (11/6/2015)
Lynn Pettis (11/6/2015)
xsevensinzx (11/6/2015)
Brandie Tarvin (11/6/2015)
xsevensinzx (11/6/2015)
Jeff Moden (11/5/2015)
Precisely. I couldn't have said it better myself. It's a bit like interviewing a mechanic. If they can't...
November 6, 2015 at 8:33 am
Luis Cazares (11/6/2015)
Sean Lange (11/6/2015)
Luis Cazares (11/6/2015)
Rich Mechaber (11/6/2015)
November 6, 2015 at 8:29 am
Luis Cazares (11/6/2015)
Rich Mechaber (11/6/2015)
Aaron Bertrand had a nice blog about this: scroll down for "Pop Quiz" and see if you still think DATEPART abbreviations are straightforward.Rich
2 letter abbreviations are...
November 6, 2015 at 8:02 am
SolveSQL (11/5/2015)
Try this...SELECT
PERNR,SUBTY,MIN(BEGDA) AS BEGDA,MAX(ENDDA) AS ENDDA
FROM table_name
GROUP BY PERNR,SUBTY
That is an excellent try but it is not quite what they are after. They want groups of contiguous dates...
November 5, 2015 at 2:12 pm
xsevensinzx (11/5/2015)
Ed Wagner (11/5/2015)
Sean Lange (11/5/2015)
xsevensinzx (11/4/2015)
Jeff Moden (11/4/2015)
Brandie Tarvin (11/4/2015)
Jeff Moden (11/3/2015)
November 5, 2015 at 2:10 pm
Viewing 15 posts - 2,116 through 2,130 (of 15,381 total)