Viewing 15 posts - 31 through 45 (of 134 total)
Yes Sean,
Exactly......
for example if apawar02 and apawar05 exists in table2
and in table 1 there are apawar, apwar01, ...........apawar10 then while inserting into table2,
apawar will inserted as...
October 27, 2014 at 9:16 am
Thanks Gianluca ,
But if username is already exists then failing.
For below data also giving same output:
DECLARE @test1 TABLE (
studID int,
FIrstNAme varchar(50),
LastName varchar(50)
)
DECLARE @Test2 TABLE (
StudID int,
UserName...
October 27, 2014 at 8:33 am
Hi,
Thanks Twin.
Thank you very much for your help with perfect solution. I really appreciated.
Thank you once again
Thanks,
Abhas.
October 15, 2014 at 4:26 am
I have resolved the issue. I was debugging wrong.. I was comparing 1:30 instead of 13:30.
Thanks,
Abhas.
October 8, 2014 at 9:12 am
Hi Livingston,
Just simplified data as below:
create table #Time (StudentID int,ClassID int,StartDate datetime,ActualTIme time,StartTime time,EndTime time)
insert into #Time values(1,1,'2014-10-07 12:26:30.540','12:26:30','12:50:00','17:10:00')
insert into #Time values(1,1,'2014-10-07 01:35:30.540','01:35:30','12:50:00','17:10:00')
insert into #Time values(1,1,'2014-10-07 01:40:30.540','01:40:30','12:50:00','17:10:00')
insert into #Time values(1,1,'2014-10-07...
October 8, 2014 at 7:01 am
Thanks Eugene Elutin
I tried by finding min and max dateadded group by class but stucked with validation part.
If you have any idea then please help.
Thanks,
Abhas.
October 8, 2014 at 2:44 am
Hi ,
Below code is working fine, But thinking one more innovation in that.If I add One more input parameter in below code say @DayAviliable varchar(10), Now I want to do...
October 6, 2014 at 8:18 am
Thanks HanShi for quick reply......
Thank you so much..... 🙂
🙂
Thanks,
Abhas.
October 6, 2014 at 6:30 am
Yes Erirukar,
There are more rows for CanNum as below: and in such case its failing. I want to compare only latest two.
I can Add one more column into table definition...
September 18, 2014 at 5:53 am
Thanks Eirikur.
Working fine. 🙂
Thank you so much!!!!!!!
Thanks
Abhas.
September 18, 2014 at 1:56 am
Thank you Jeff and Eirikur.
See below object.
create table #temp(candId int identity(1,1),CanNum int,name varchar(50),Attempt1 int,Attempt2 int,attempt3 int)
insert into #temp values ( 1001, 'Abhas', 120, 150, 180)
insert into #temp values (1002,...
September 18, 2014 at 12:44 am
Hi,
For both solution getting an error, temp table does not exists
September 17, 2014 at 6:08 am
Hi venoy, Thanks for reply.
I am getting the result from EXEC sp_executesql @DynamicQuery correct. I just want to add the outputof this into temp table.
I am not able to past...
September 17, 2014 at 4:45 am
Thanks Adi,
I am getting exactly same error.
Where i need to use (+) sign. Do you mean instead of concat function?
Thanks,
Abhas.
done by below idea:
create table #temp(name varchar(10), sale int)
insert into...
September 16, 2014 at 5:35 am
Hi all,
in addition above.
Hi,
put varchar datatype, why because actual data is like: Sorry for not mentioning earlier.
99.87%, 99.96%, 8.67%
and out put want as
99.8%
99.9%
8.6%
Thanks,
Abhas.
September 11, 2014 at 7:41 am
Viewing 15 posts - 31 through 45 (of 134 total)