Viewing 15 posts - 31 through 45 (of 201 total)
Gianluca Sartori (9/14/2011)
matt.bowler (9/13/2011)
Not to mention the coolest SSC avatar 🙂Congratulations.
Is there a prize for the cheapest? :w00t:
Yes but you will have to wait for Italy to be forced to...
September 14, 2011 at 3:03 am
Bit of typos there i think and as such a really hard question to answer. The hard part trying to figure out what the author wanted to demonstrate. In this...
September 14, 2011 at 12:12 am
Something like
with cte as
(select CustomerId, RechargeDate, Count(*) RechargeNr
from customer_trans
group by CustomerId, RechargeDate)
select c1.CustomerId, c1.RechargeDate, sum(c2.RechargeNr)
from cte c1
join...
September 12, 2011 at 12:09 am
bitbucket-25253 (8/23/2011)
venoym (8/23/2011)
I'm surprised by the number of people who are complaining about the existence of a Test2 db or not. I...
August 23, 2011 at 7:02 am
So BOL is wrong. From the link
It is strongly recommended that you do not create any stored procedures using sp_ as a prefix. SQL Server always looks for a stored...
August 22, 2011 at 11:21 pm
Hakuna Matata :):):) (7/14/2011)
I tried implementing by replacing with br, but br gets appended to the string.
Well you cant replace it with just BR you need the whole part "<br>"...
July 14, 2011 at 7:02 am
Hakuna Matata :):):) (7/8/2011)
Is there any other go wherin I can I can show multiple...
July 14, 2011 at 1:47 am
Modding my code so it should do what you now want.
SELECT t.id,
RTRIM(SUBSTRING(t.s, 1, 36)),
...
July 8, 2011 at 6:45 am
I must say that i dont see the problem. Since that is the way you will get it out. But as i said. SSMS will NOT display the line breaks...
July 8, 2011 at 6:13 am
Or another option
select
Stuff( (select distinct
',' + t.fldName1 + ',' +
...
July 8, 2011 at 5:45 am
Hakuna Matata :):):) (7/8/2011)
When I use this in a select statement as shown i get Sql Server
declare @Str1 varchar(32)
declare @Str2 varchar(32)
select @str1='Sql', @Str2='Server'
select @str1 + char(13) + @str2
Am I doing...
July 8, 2011 at 5:32 am
Something like
declare @Str1 varchar(32)
declare @Str2 varchar(32)
select @str1='Sql', @Str2='Server'
print @str1 + char(13) + @str2
?
/T
July 8, 2011 at 4:20 am
mageshh11 (7/8/2011)
But all the variables declared in the SP are varchar(max)
Below is the code like which i m using. This may help you to understand my...
July 8, 2011 at 1:56 am
A question which i hope someone might be able to answer about the "Union/Cross tab" solution.
Okay so lets say we have a result looking like 1, "Tennis", Null, "Golf",...
July 8, 2011 at 1:51 am
Viewing 15 posts - 31 through 45 (of 201 total)