Viewing 9 posts - 16 through 24 (of 24 total)
Expected Output
1, 'A' ,'AC',20130101,20130110
2,'B' ,'NON-AC',20130111,20130112
3, 'A' ,'AC', 20130113 ,20130118
4,'B' , 'NON-AC', 20130119 ,20130124
5,'A' ,'AC',20130125, 20130204
6,'C','NON-AC',20130205, 99991231
November 20, 2013 at 5:29 am
nice question .. Only one bus is used during a startDateKey and EndDatekey ... No other bus is allowed .
For Example Serial No ...
November 20, 2013 at 3:53 am
Hi
I appreciate the solution but failing to the below scenario .. I have added few more records ..
Declare @temp table (SysKey int ,BusName varchar(9) ,BusType...
November 20, 2013 at 2:56 am
solution should be set based only .. .as there are 98 million records that need to be taken care .
November 20, 2013 at 1:32 am
Result as not expected
BusnameBusType(No column name)(No column name)
A AC ...
November 20, 2013 at 12:10 am
Hi ,
Procedure is working fine ...
Create procedure dbo.SqlServerForum
as
Select Top 1 * from sys.tables
Select Top 1 * from sys.columns
Try...
November 21, 2012 at 4:36 am
To encrypt there would be logic that is defined by user
For example: 1234 Coded as 2345 (adding 1 to each digit)
...
May 19, 2012 at 10:25 am
You can store Temporary result it either in
Variable Table
Declare @Emp table (EmpID ,DepId)
Temporary Table
Create table #Emp (EmpID ,DepId)
Global Temporary Table
Create...
May 18, 2012 at 6:15 am
Viewing 9 posts - 16 through 24 (of 24 total)