Viewing 15 posts - 1 through 15 (of 39 total)
Hi Experts,
Thanks for your valuable time and suggestion given by you, this is Copy of Main Database on Daily Bases data is inserted and unwanted data is deleted,
We have splited...
April 14, 2022 at 9:30 am
Hi Dave,
I am also stucked in similar problem and the query which you have suggested I have executed and I have got the result
Transcount 1
but if I am...
May 8, 2015 at 12:38 am
Thanks all of you,
The solution is given by all the expert is better than mine...
Thanks for the co-operation.
September 5, 2014 at 11:39 pm
Hi Koen Verbeeck
Data file is attached with the Post
have a look
Thanks
September 5, 2014 at 6:34 am
Yeah we have forced the driver to log out from the System/Device which we have provided,
Just a have look for below query, will it be ok if I implement it.
IF...
September 5, 2014 at 2:47 am
:-D:-D off course it is in next row.
on the base of is_logged_in true/false, the value is inserted into the table
September 5, 2014 at 2:31 am
yeah that's the Major issue in it, other wise I have to take loop and then populate the data which I don't want to do.
instead of taking loop I want...
September 5, 2014 at 2:28 am
Hi Koen Verbeeck
No Luck from the query, the data is multiplied by the table one rows to table two rows i.e 53*28 = 1484.
Thanks
September 5, 2014 at 2:22 am
here is the query
SELECT
DDLH_IN.DRIVER_ID
,DDLH_IN.IS_LOGGED_IN
,DDLH_OUT.IS_LOGGED_IN
,DRIVER_NAME
,DDLH_IN.LOGGED_DATETIME AS LOGGED_IN_DATETIME
,DDLH_OUT.LOGGED_DATETIME AS LOGGED_OUT_DATETIME
FROM
D_DRIVER_LOGGED_HISTORY AS DDLH_IN
INNER JOIN D_DRIVER_LOGGED_HISTORY AS DDLH_OUT
ON DDLH_IN.DRIVER_ID = DDLH_OUT.DRIVER_ID
WHERE
DDLH_IN.DRIVER_ID = 4
September 5, 2014 at 1:35 am
Hi Koen Verbeeck,
I have tried it but no luck, I have 81 Records for that particular driver but it is multiplying the records and the output value is 6561 records,
it...
September 5, 2014 at 1:32 am
I want the output as below
DRIVER_IDDRIVER_NAMELOGGED_IN_DATETIMELOGGED_OUT_DATETIME
4SAM2014-08-30 12:31:532014-07-05 09:47:41
4SAM2014-08-28 11:37:232014-07-05 09:47:41
September 5, 2014 at 1:08 am
Kingston Dhasian (10/17/2012)
You can insert the results from a Stored Procedure into a temporary table and work on the temporary table...
October 17, 2012 at 12:21 am
Thanks Chris for Passing a Logic
the way I needed,
thanks once again
October 16, 2012 at 11:20 pm
Thanks Lowell for instant reply,
This is my predication, not the actual data
, actual data is differ from my Example
in my data it gives me lot of no's 1,2,3.......n or sometime...
October 16, 2012 at 6:06 am
Koen Verbeeck (4/13/2012)
You can either specify the columns names, or just add two clauses: ALTER TABLE #TempTest DROP COLUMN ID and ALTER TABLE #TempTest...
April 13, 2012 at 5:59 am
Viewing 15 posts - 1 through 15 (of 39 total)