Viewing 15 posts - 301 through 315 (of 568 total)
Hi,
this is constant of the 3 digit from right then
try this
declare @result varchar(15)
set @result = '20090801001'
select right(@result,3)
July 31, 2009 at 11:54 pm
Hi Jeff,
I think, need the statement for the comma delimited row to the column,
Colin already use the COALESCE statement, actually may Colin need the better one then COALESCE!!!
July 31, 2009 at 9:35 pm
Hi,
try this
create table #temp1
(
slno int,
inv_no varchar(10),
inv_dt datetime,
payment_term1 varchar(10)
)
insert into #temp1
select 1,'INV01','2009-01-01','30'
union all
select 2,'INV02','2009-01-02','30'
union all
select 3,'INV03','2009-01-03','30'
union all
select 4,'INV04','2009-01-04','30'
union all
select 5,'INV05','2009-01-05','30'
select *,(inv_dt+(cast(payment_term1 as int)))real_dt from #temp1
July 31, 2009 at 4:28 am
Hi,
try this
create table #temp1
(
id int,
reg_no int,
leave int,
typeid int,
allowed varchar(50),
remarks varchar(50)
)
insert into #temp1
select 1906, 10800720, 1, 2,'Night stay', 'with local guardian is not'
union all
select 1909, 10800720, 1, 2,'Night stay', 'with...
July 31, 2009 at 1:10 am
Hi,
Try this
select getdate()
select convert(varchar(20),getdate() ,113)
July 28, 2009 at 11:29 pm
Hi,
Try this
select getdate()
select convert(varchar(20),getdate() ,113)
July 28, 2009 at 11:08 pm
Hi,
Try this
select getdate()
select convert(varchar(20),getdate() ,113)
July 28, 2009 at 11:00 pm
Hi,
Try this
select getdate()
select convert(varchar(20),getdate() ,113)
July 28, 2009 at 10:34 pm
Hi,
Try this
select getdate()
select convert(varchar(20),getdate() ,113)
July 28, 2009 at 10:24 pm
Hi,
Try this
select getdate()
select convert(varchar(20),getdate() ,113)
July 28, 2009 at 10:22 pm
Hi,
Try this
select getdate()
select convert(varchar(20),getdate() ,113)
July 28, 2009 at 10:17 pm
Hi,
Try this
select getdate()
select convert(varchar(20),getdate() ,113)
July 28, 2009 at 10:06 pm
Hi,
Try this
select getdate()
select convert(varchar(20),getdate() ,113)
July 28, 2009 at 10:03 pm
Hi,
Zeal person only having these type of dreams, you note it down your entire dream in the record its help one day defiantly.
July 26, 2009 at 9:13 pm
Hi,
use the random values
declare @i int
select @i = (RAND()*100)
select CAST(@i AS bigint),@i
July 24, 2009 at 5:03 am
Viewing 15 posts - 301 through 315 (of 568 total)