Viewing 6 posts - 1 through 7 (of 7 total)
In my procedure the Shift details are automatically determined by the First IN or the First OUT encountered for the day, the nearest Shift is taken into consideration
for eg, 'E5',...
[font="Courier New"]-- Alban Lijo <SQL Rookie> :-)[/font]
January 28, 2014 at 1:41 am
@lmu92
I agree with you, that approach is faster.. but I feel the approach I used is bit easy to understand.
I personally feel that one should understand the solution and approach...
[font="Courier New"]-- Alban Lijo <SQL Rookie> :-)[/font]
July 8, 2010 at 11:34 pm
WayneS (7/7/2010)
SQLEE (7/7/2010)
[font="Courier New"]-- Alban Lijo <SQL Rookie> :-)[/font]
July 8, 2010 at 12:10 am
-- Create Tables and Insert Values
Create Table tmpDis (ID int Identity(1,1), Disposition VARCHAR(50),CDATE Datetime )
insert into tmpDis (Disposition,CDATE)
Select 'Busy','7/1/2010'
union all Select 'Ringing','7/1/2010'
union all Select 'Callback','7/1/2010'
union all Select 'Callback','7/1/2010'
union all...
[font="Courier New"]-- Alban Lijo <SQL Rookie> :-)[/font]
July 7, 2010 at 11:10 pm
Thanks Sergiy for the reply..
Sql Server resides in the machine where im executing xp_cmdshell
in that case my local machine and server are the same..
all other commands works fine with...
[font="Courier New"]-- Alban Lijo <SQL Rookie> :-)[/font]
June 18, 2010 at 10:05 pm
Hi,
I am trying to execute
exec Master..xp_cmdshell 'bcp "Select _Id_ from PM.dbo._TST_" queryout "C:\_ID_Test.txt" -c -U SA -P AA112233** -S MYLAP\SQLEXPRESS'
Gives an Output
SQLState = S1000, NativeError = 0
Error = [Microsoft][SQL...
[font="Courier New"]-- Alban Lijo <SQL Rookie> :-)[/font]
June 17, 2010 at 11:12 pm
Viewing 6 posts - 1 through 7 (of 7 total)