Viewing 15 posts - 1 through 15 (of 34 total)
GSquared (1/5/2010)
Are you familiar with the string functions in T-SQL? Looks to me like you could resolve this with Len, Right, and a...
January 5, 2010 at 9:40 pm
Sharul Nizam (11/21/2009)
create table tStrRndm
(
BoardCd varchar(6) -- this is a unique
)
DECLARE @myString AS varchar(50)
SET @myString= '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
DECLARE @gStrRndm as varchar(6)
1. I'm looking a solution to build a T-SQL...
November 24, 2009 at 8:40 am
Dave Ballantyne (11/22/2009)
Here's another method (requires 2005+)
Article shown by Dave, give me a hope.
November 23, 2009 at 6:59 am
thanks for the guide.
me still develop the T-SQL
November 22, 2009 at 12:51 pm
Lynn Pettis (11/21/2009)
Unfortunately, you really didn't answer Seth's question. But regardless, please check out my blog post here.
Just saw your great article.
How to make it random string in...
November 22, 2009 at 1:55 am
Garadin (11/21/2009)
Before we give you crazy solutions to accomplish this, could you share the reason for it and what you hope to accomplish?
1. Me just want to see, Stored Procedure...
November 21, 2009 at 7:25 pm
Florian Reischl (11/14/2009)
First, to pay my bill for entering this thread 😀
SELECT
CONVERT(CHAR(6), DATEADD(MONTH, -1, CONVERT(DATETIME, @yyyymm + '01', 112)), 112)
,CONVERT(CHAR(6), DATEADD(MONTH, 1, CONVERT(DATETIME, @yyyymm...
November 14, 2009 at 11:11 pm
Jeff Moden (11/14/2009)
declare @yyyymm as varchar(6)
set @yyyymm='200901'
SELECT CONVERT(CHAR(6),CAST(@yyyymm+'01' AS DATETIME) -1,112) AS [Prev yyyymm],
CONVERT(CHAR(6),CAST(@yyyymm+'01' AS DATETIME)+32,112) AS...
November 14, 2009 at 11:10 pm
Kindest Matt Wilhoite,
Your direction give me an accurate resultset. 😀
TQVM.
November 10, 2009 at 12:19 pm
Matt Wilhoite (11/9/2009)
November 10, 2009 at 1:53 am
Viewing 15 posts - 1 through 15 (of 34 total)