Viewing 15 posts - 91 through 105 (of 315 total)
Lakhbir.Bhatti (12/30/2008)
If any invoices matching to code AS0630 that showing me the invoices are paid and take it off my list.
select * from table as t
where not exists(select * from...
December 30, 2008 at 6:07 am
Ashwin M N (12/30/2008)
insert into temp (name) select 'IP 20867 Corona'
insert into temp (name) select '19"-RAC - C60184-03'
insert into temp (name) select 'HEEFA Tower...
December 30, 2008 at 5:54 am
Jeff Moden (12/30/2008)
Good thread. I like the sp_MakeWebTask trick.
Thanks Jeff Moden 🙂
December 30, 2008 at 5:40 am
Do you want one row per invoice?
December 30, 2008 at 5:37 am
emailtoDeepa (12/29/2008)
Select DATENAME(weekday, YourDateHere)
Already suggested
December 30, 2008 at 3:01 am
Jeff Moden (12/29/2008)
December 30, 2008 at 3:00 am
mithun.gite (12/30/2008)
its a long sp of balance sheet and earlier it is using dynamic sql now we need to do some modification and needs to add...
December 30, 2008 at 2:31 am
As far as I know the only case that I needed to use semicolon to terminate the statement is when I used GO as the procedure name
create procedure go
as
select 45...
December 30, 2008 at 2:26 am
select empid,'Allowance1',Allowance1 as amount from your_table union all
select empid,'Allowance2',Allowance2 from your_table union all
select empid,'Allowance3', Allowance3 from your_table
order by empid
December 30, 2008 at 2:15 am
One more query
select dateadd(day,number,'20090102') as BiFriday from master..spt_Values
where type='p' and dateadd(day,number,'20090102')<'20100101' and number%14=0
December 26, 2008 at 11:19 pm
December 26, 2008 at 5:11 am
Read about Cross-tab reports in sql server help file
December 26, 2008 at 5:11 am
Franco_1 (12/23/2008)
declare @dt as datetime
set @dt=CONVERT(varchar(8), GETDATE(), 112)
print @dt
The result is :
Dec 23 2008 12:00AM
How do I get only Dec 23 2008?
2....
December 26, 2008 at 3:00 am
Viewing 15 posts - 91 through 105 (of 315 total)