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...
Failing to plan is Planning to fail
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...
Failing to plan is Planning to fail
December 30, 2008 at 5:54 am
Jeff Moden (12/30/2008)
Good thread. I like the sp_MakeWebTask trick.
Thanks Jeff Moden 🙂
Failing to plan is Planning to fail
December 30, 2008 at 5:40 am
Do you want one row per invoice?
Failing to plan is Planning to fail
December 30, 2008 at 5:37 am
emailtoDeepa (12/29/2008)
Select DATENAME(weekday, YourDateHere)
Already suggested
Failing to plan is Planning to fail
December 30, 2008 at 3:01 am
Jeff Moden (12/29/2008)
Failing to plan is Planning to fail
December 30, 2008 at 3:00 am
Dave (12/29/2008)
How?
What? 😉
Failing to plan is Planning to fail
December 30, 2008 at 2:41 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...
Failing to plan is Planning to fail
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...
Failing to plan is Planning to fail
December 30, 2008 at 2:26 am
[sniped]
Failing to plan is Planning to fail
December 30, 2008 at 2:17 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
Failing to plan is Planning to fail
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
Failing to plan is Planning to fail
December 26, 2008 at 11:19 pm
http://www.sommarskog.se/dynamic_sql.html
Failing to plan is Planning to fail
December 26, 2008 at 5:11 am
Read about Cross-tab reports in sql server help file
Failing to plan is Planning to fail
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....
Failing to plan is Planning to fail
December 26, 2008 at 3:00 am
Viewing 15 posts - 91 through 105 (of 315 total)