Viewing 15 posts - 316 through 330 (of 692 total)
Actually, XQUERY can also update data...
--
Adam Machanic
whoisactive
June 15, 2005 at 10:03 am
June 14, 2005 at 10:50 am
Jeff,
There will be many good, and many bad jobs in your career. What we all need to do is learn to let all the drama wash over us and...
--
Adam Machanic
whoisactive
June 9, 2005 at 11:47 am
Here's an article I wrote that takes a slightly different tactic for dealing with this issue. I'm not sure if it would have helped in this case, but the...
--
Adam Machanic
whoisactive
June 9, 2005 at 11:35 am
Was it only running badly with certain parameters, and running correctly with others? Sounds to me like parameter sniffing at work...
--
Adam Machanic
whoisactive
June 9, 2005 at 11:23 am
I was slightly off... Try this instead:
if (@var NOT LIKE '%[^0123456789abcdefghijklmnopqrstuvwxyz]%')
print 'yes'
else
print 'no'
--
Adam Machanic
whoisactive
June 5, 2005 at 7:19 pm
It does work. That's the problem -- it works for EVERY possible numeric datatype -- Integers, floats, money, decimal ... and don't forget binary conversions.
--
Adam Machanic
whoisactive
June 3, 2005 at 12:56 pm
Watch out Mike...
DECLARE @var varchar(20)
SET @var = '1e1'
SELECT 'Yes'
WHERE ISNUMERIC(@var) = 1
http://www.aspfaq.com/show.asp?id=2390
--
Adam Machanic
whoisactive
June 3, 2005 at 12:31 pm
June 3, 2005 at 6:40 am
Simon,
Depending on collation, the characters that fall between two other characters might be different -- it all has to do with sorting...
Compare this:
SELECT CHAR(number)
FROM master..spt_values
WHERE type = 'p'
AND number...
--
Adam Machanic
whoisactive
June 2, 2005 at 8:11 pm
No so fast!
Did you really want special characters from other languages? Maybe. Maybe not.
---
declare @var varchar(10)
set @var = char(226)
print char(226)
if (@var LIKE REPLICATE('[0-Z]', LEN(@var)))
...
--
Adam Machanic
whoisactive
June 2, 2005 at 12:38 pm
+1 for a lucky guess ![]()
--
Adam Machanic
whoisactive
May 27, 2005 at 12:02 pm
I live in Davis Square, Somerville (suburb of Boston, right next to Cambridge)... And you're right, prices are absolutely sky high! Too expensive to even consider buying anything right...
--
Adam Machanic
whoisactive
May 24, 2005 at 1:31 pm
I think it's important to note that those numbers are national averages and will vary A LOT depending on locale -- for instance, salary differences between here (Boston) and Denver...
--
Adam Machanic
whoisactive
May 24, 2005 at 12:05 pm
Viewing 15 posts - 316 through 330 (of 692 total)