Viewing 15 posts - 76 through 90 (of 373 total)
What is the error message you are receiving?
Kurt
January 23, 2014 at 9:43 am
Hummm... If I knew this was 2012 specific then I would have probably not attempt to run it. Here is my result when running it in SS2K8R2
--run this in...
January 23, 2014 at 9:34 am
Sean Lange (1/21/2014)
Kurt mentioned something about storage. Honestly, the storage...
January 21, 2014 at 10:42 am
Although I've never had the opportunity to store .JPGs in a database the construct you are looking for is FILESTREAM. I'd suggest you read up on it in BOL.
One...
January 21, 2014 at 9:51 am
Back before we had all of these fancy functions I used this method:
DECLARE @number AS NUMERIC(4,2) ; SELECT @number = 2.99;
print @number;
if cast(@number as int) = @number
begin
Print 'whole number'
end
else
print 'has...
January 21, 2014 at 9:40 am
Lynn Pettis (1/10/2014)
January 13, 2014 at 8:41 am
GilaMonster (1/13/2014)
The only time I'll use three-part naming is when I know that I need to be crossing databases. Otherwise 2-part naming's fine.
I agree with you Gail. Sprocs that...
January 13, 2014 at 8:26 am
What code do you have so far? Maybe I can assist your issues.
Kurt
January 10, 2014 at 7:25 am
Revenant (1/9/2014)
whereisSQL? (1/9/2014)
crookj (1/9/2014)
WOTD - TautologicalRedundant
fail-safe
dead-man
January 9, 2014 at 12:00 pm
What do you have so far? It may be easier to see what you are developing and to see your issue.
Kurt
January 9, 2014 at 8:29 am
Your first post indicated you wanted a 2 digit year. Your solution provides you a 4 digit year. Just saying.
Kurt
January 9, 2014 at 8:26 am
I came up with something like this:
declare @SSDate datetime = '01/22/2001'
declare @CharSSDate varchar(10)
set @CharSSDate = right('0' + cast(MONTH(@SSDate) as varchar(2)),2) + '/' + right('0' + cast(DAY(@SSDate) as varchar(2)),2) +...
January 9, 2014 at 8:25 am
Ed Wagner (1/6/2014)
Revenant (1/6/2014)
Kurt W. Zimmerman (1/6/2014)
JAZZ Master (1/6/2014)
crookj (1/6/2014)
BWFC (1/6/2014)
racingBen
Big
Data
Point
Time
jiffy
January 6, 2014 at 11:03 am
JAZZ Master (1/6/2014)
crookj (1/6/2014)
BWFC (1/6/2014)
racingBen
Big
Data
January 6, 2014 at 9:56 am
Is this something you are looking for?
declare @InDate datetime = getdate()
declare @sInDate varchar(20)
set @sInDate = cast(YEAR(@InDate)as varchar) + '-' + left(CONVERT(varchar(20),@indate, 100),3)
December 23, 2013 at 8:30 am
Viewing 15 posts - 76 through 90 (of 373 total)