Viewing 7 posts - 16 through 22 (of 22 total)
Try:
REPLACE(UPPER(NAME), '"','')
Here's a working example:
declare @name varchar(30)
set @name = 'a"string"with"double"quotes'
set @name = REPLACE(UPPER(@NAME), '"','')
select @name
If you have quoted_identifier set off, you can use:
REPLACE(UPPER(NAME), """","")
set quoted_identifier off
declare @name varchar(30)
set @name...
August 24, 2010 at 4:06 am
As I understand what you're saying, you have two databases, each with an identical foreign key constraint, which, as far as you know, are behaving identically.
For each, you have...
August 19, 2010 at 5:58 am
Let's try that again:
create function dbo.
DATEDIFFYMD ( @STARTDATE datetime,
@ENDDATE ...
August 14, 2010 at 1:03 pm
When 50 months have passed, do you want to see:
50 months, 04 years
or
02 months, 04 years
?
declare @startdate datetime
declare @enddate datetime
set @enddate = '29-Aug-2015'
set @startdate = '11-Apr-2010'
-----------------------------------
declare...
August 11, 2010 at 4:04 am
As I understand it, you want to sort on two criteria, the first being defined by the procedure's parameters, and the second, always being FULLNAME asc.
If this is the case,...
August 11, 2010 at 3:02 am
update
[Sample]
set
ImportDate = '2010-08-29'
where
Code = 1
and Rate = 4200
and StarDate = '2004-01-01'
August 11, 2010 at 2:24 am
Viewing 7 posts - 16 through 22 (of 22 total)