Viewing 15 posts - 316 through 330 (of 466 total)
I have to agree that this was a great question and don't see how it could be interpreted any other way. I think the "trap" may have been people...
August 14, 2012 at 8:55 am
But based on the desired output he provided it looked like he wanted the % signs removed as well. Or did I misread that?
Edit: Nevermind, I get it...
August 13, 2012 at 10:54 am
Does this not work for you?
select REPLACE(yourstring '%sometext%', 'replaced')
from #temp
August 13, 2012 at 10:42 am
Lynn Pettis (8/10/2012)
roryp 96873 (8/10/2012)
Montana.My daughter is visiting a friend up in Bozeman.
Very cool. I went to college there. I'm working a couple hours away in Billings now.
August 13, 2012 at 8:00 am
Just got signed up. Pretty new to SQL and quite a bit of fantasy football experience, but still probably the same skill level at both. Looking to have...
August 10, 2012 at 2:53 pm
I also just noticed your between criteria in your original query you posted won't return you any results since the first number in your between is greater than the second...
August 10, 2012 at 1:24 pm
That and the top 5 of your results are not necessarily guarenteed if you don't have a order by statement in your query although I'm not sure if that is...
August 10, 2012 at 12:59 pm
Top 5 by what criteria? If you show the structure of your table and what you are basing the top 5 off of, we could easily help you find...
August 10, 2012 at 12:48 pm
cfradenburg (8/10/2012)
(Bob Brown) (8/10/2012)
No comment on QOD!You're just posting to get your point back then? 🙂
D'oh that is what I am doing. Read too fast and...
August 10, 2012 at 8:17 am
Will the date always be 8 digits with no punctuation, like dashes or underscores?
August 8, 2012 at 3:45 pm
morepainot (8/8/2012)
Dont I need to use parenthesis to open and close the alter table statement? If I delete it then ill get an error near VARCHAR
Nope that will cause an...
August 8, 2012 at 3:01 pm
morepainot (8/8/2012)
BEGIN
SET @nSQL = '
IF NOT EXISTS (SELECT * FROM '+ @SourceDatabaseName + ' .INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = ''dbo'' AND
TABLE_NAME...
August 8, 2012 at 2:44 pm
Maybe my files I am using are encoded differently than yours or maybe I am missing something here, but any time I have had to load a whole line from...
August 8, 2012 at 8:56 am
thadeushuck (8/7/2012)
August 7, 2012 at 8:54 am
Viewing 15 posts - 316 through 330 (of 466 total)