Viewing 15 posts - 10,906 through 10,920 (of 15,376 total)
Or you could start over at 'a'.
declare @MyChar char(1) = 'z'
select NextLetter = case @MyChar when 'z' then 'a' else char(ascii(@MyChar) + 1) end
Or you could add collation to make...
August 29, 2012 at 8:28 am
Luis Cazares (8/29/2012)
Try this instead:
;with MyRank (col1)
as
(
select 6 union all
select 5 union all
select 4 union all
select 3 union all
select 2...
August 29, 2012 at 8:24 am
Luis Cazares (8/29/2012)
;with MyRank (col1)
as
(
select 5 union all
select 4 union all
select 3 union all
select 2 union all
select 1 union all
select 1 union all
select 1
)
SELECT TOP 5 col1
FROM...
August 29, 2012 at 8:10 am
he said it's an unsupported flag, but doesn't know the number.
Sounds to me like a lot of smoke blowing is going on there. 😛
August 29, 2012 at 8:06 am
Kumar SQL (8/29/2012)
Sno Text
1 Batch 58701, Sub -000 .
2 ...
August 29, 2012 at 7:55 am
This is pretty simple using Row_Number. Please notice how I posted sample data to make this a lot easier for anybody else. You should do something similar in your future...
August 29, 2012 at 7:43 am
kamasat (8/29/2012)
Thank you for your reply.
In my client place, to take backup of the database, in SQL server, there is an option 'Generate Scripts' which is not allowed...
August 29, 2012 at 7:29 am
kamasat (8/28/2012)
I tried using the stored procedure to connect to the external server bu am unable to connect by entering the correct server name, user name and password. I don't...
August 28, 2012 at 2:25 pm
mak101 (8/28/2012)
GilaMonster (8/28/2012)
Set up a server side trace,...
August 28, 2012 at 1:38 pm
mak101 (8/28/2012)
August 28, 2012 at 12:48 pm
david_a_wallace (8/28/2012)
The reason the ContainerTypeID is in the contact...
August 28, 2012 at 8:58 am
Sean Lange (8/28/2012)
August 28, 2012 at 7:52 am
You can also expand the table in SSMS. You can click and drag the "Columns" folder to a query window and you will have comma separated list of all the...
August 28, 2012 at 7:51 am
Viewing 15 posts - 10,906 through 10,920 (of 15,376 total)