Viewing 15 posts - 631 through 645 (of 1,048 total)
I am implementing in this way. is it correct?
Please suggest
Declare @message1 nvarchar(100) = 'Invalid Voucher Type',
@message2 nvarchar(100) = 'Invalid Voucher Number',
@message3 nvarchar(100) = 'Invalid Denomination Number',
@message4 nvarchar(100) = 'Invalid TransactionID',
@message5...
March 29, 2013 at 4:12 am
Jason-299789 (3/28/2013)
Out of curiosity did you...
March 28, 2013 at 12:57 am
sohan.fegade (3/28/2013)
Try -SELECT*
FROMTableA
WHEREPATINDEX('%[ ]cd[ ]%', [Values]) > 0
OR PATINDEX('%[ ]cd', [Values]) > 0
OR PATINDEX('cd[ ]%', [Values]) > 0
Hi Sohan, I tried your query but its not returning any value
March 28, 2013 at 12:27 am
DBCC FREEPROCCACHE
DBCC DROPCLEANBUFFER
run this.. it will help you
March 28, 2013 at 12:22 am
You can also use this --
Create table #temp
(
name varchar(20)
)
insert into #temp
values ('aaa'),('aa cd ef'),('abcd')
select * from #temp
where name like '% cd%'
March 28, 2013 at 12:17 am
You can use CHARINDEX or PATINDEX for this...
March 27, 2013 at 11:46 pm
please provide table structure
March 26, 2013 at 6:30 am
+1 today 🙂
Last time for DELETE cascade question I lose the points so this time first I prefer to refer BOL before answering this question 😛
March 25, 2013 at 11:39 pm
dwain.c (3/24/2013)
kapil_kk (3/24/2013)
This wil also give error :DROP FUNCTION dbo.Test DROP TYPE dbo.MyTable GO
as GO is present at the same line where it should not be....
Alas I got wrong :w00t:
I'll...
March 25, 2013 at 12:02 am
This wil also give error :
DROP FUNCTION dbo.Test DROP TYPE dbo.MyTable GO
as GO is present at the same line where it should not be....
Alas I got wrong :w00t:
March 24, 2013 at 11:23 pm
lolz of discussion 😛
------------------------------------------------
Visit my blog :
March 23, 2013 at 10:58 pm
Viewing 15 posts - 631 through 645 (of 1,048 total)