Viewing 15 posts - 16 through 30 (of 36 total)
Thanks, i hope this code will get best perfomance than the another (with while statement)
thanks.
February 8, 2012 at 9:23 am
Thanks,
it work of course, but have a detail..
when in my table exists 2 values equals i just need 1
you see:
DECLARE @number int, @C INT
SET @number =9
SET
February 8, 2012 at 8:39 am
I tried with this:
SELECT @cols = STUFF(
( SELECT DISTINCT TOP (@number) PERCENT '],''0'' [' + CPA.n
FROM @data...
February 8, 2012 at 7:29 am
with this query i have the same result:
DECLARE @number int, @C INT
SET @number =9
SET @C =0
DECLARE @colstotal VARCHAR(MAX)
SET @colstotal=''
WHILE @number >= @C
BEGIN
SET @colstotal=@colstotal+'''0''['+CONVERT(VARCHAR(2),@c)+'],'
SET
February 7, 2012 at 4:23 pm
what do you mean, with the clause while gonna be slow?
February 7, 2012 at 4:20 pm
Thanks to all,
this query can execute with -while statement-?
February 7, 2012 at 2:18 pm
if that have 3 upgrades of 4 records,
how do I insert the record was not updated??
January 30, 2012 at 1:52 pm
Thanks,
that result can be export to a folder ? like "c:\config.xml"
it's possible?
January 13, 2012 at 3:11 pm
January 10, 2012 at 3:33 pm
Hi, thanks
the rules are, just when the voucher_id='N' (i mean pymnt_separate column) are going toghether and the co_a_pagar joins in the totals final of the group by.
if the voucher_id='Y'...
January 10, 2012 at 3:12 pm
Hey thanks!
and if i want scan all the man_hours by id_resource of the table @spotresource and compare it with the table @spotCM_cc46311AREP how can i update the man_hours for each...
January 5, 2012 at 9:54 am
Yes, well it's a draw end of the year awards to employees..
December 30, 2011 at 8:12 am
Hi,
thanks!
but the outcome of the query needs to be a character..
December 29, 2011 at 9:56 am
Viewing 15 posts - 16 through 30 (of 36 total)