Viewing 15 posts - 4,426 through 4,440 (of 5,590 total)
CirquedeSQLeil (4/14/2010)
WayneS (4/14/2010)
Lynn Pettis (4/14/2010)
CirquedeSQLeil (4/14/2010)
Lynn Pettis (4/14/2010)
To the TinD I am going, fun you all can have.It looks like you can come back now.
And I did. Just waiting...
April 14, 2010 at 2:59 pm
You need to convert this all to dynamic sql. And, the object names (in this case, the column names), can't be dynamic. Something like this:
DECLARE @sql VARCHAR(8000)
SET @sql =
'SELECT...
April 14, 2010 at 2:53 pm
JKSQL (4/14/2010)
SELECT CHARINDEX('AAAAAAAA™BBBBBBBBBBBBBB',Char(153))I can not seem to get the trademark to work in charindex
You're using CharIndex wrong... you reversed the parameters.
Try:
SELECT CHARINDEX(char(153),'AAAAAAAA™BBBBBBBBBBBBBB')
April 14, 2010 at 2:49 pm
Lynn Pettis (4/14/2010)
CirquedeSQLeil (4/14/2010)
Lynn Pettis (4/14/2010)
To the TinD I am going, fun you all can have.It looks like you can come back now.
And I did. Just waiting now to...
April 14, 2010 at 2:40 pm
Mister Ken, I think the problem with the original query you posted is that you built a derived table, and properly aliased it, but then when you joined it to...
April 14, 2010 at 2:32 pm
CirquedeSQLeil (4/14/2010)
WayneS (4/14/2010)
The Green Triangle is to run in Debug mode, the Red Exclamation Point executes the query....
April 14, 2010 at 2:22 pm
Tammy,
Glad to be able to help you out. We know you're an "accidental DBA", and most people here will try to help you out.
One reason some people won't help out...
April 14, 2010 at 2:16 pm
In SSMS, are you pressing the Green Triangle, or the Red Exclamation Point?
The Green Triangle is to run in Debug mode, the Red Exclamation Point executes the query. You want...
April 14, 2010 at 2:08 pm
TAMMYAUDETTE (4/14/2010)
I have a report I'm building, a report of SKU numbers with sold...
April 14, 2010 at 1:57 pm
bill.brazell (4/14/2010)
As for the output, I'd prefer that it not include the name of the delimiter, only the value. i.e. "Ping" instead...
April 14, 2010 at 1:47 pm
In the next-to-last INSERT, you have TBMLxxx. It also looks like you did a cut-and-paste and have several lines of -- this should return TBM419, when TBM419 is not in...
April 14, 2010 at 10:35 am
Did you get the column converted to a datetime data type? If so, that constraint won't help you.
April 14, 2010 at 10:04 am
timotech (4/14/2010)
Hi thanks for your replies. unfortunately the fields has a lot of Null values. there are about 4000 records, how do i fill the nulls
UPDATE myPoorlyDesignedTable
...
April 14, 2010 at 5:16 am
Jeff Moden (4/13/2010)
... With that in mind, I have a present for you...
Awesome! thanks - it's been added to my code snippets templates.
And as is typical for code coming...
April 14, 2010 at 5:02 am
Jeff Moden (4/13/2010)
Heh... ya did it to me again, Wayne. 😉
Hey... ya snooze, ya looze. 😉 😀
April 13, 2010 at 9:05 pm
Viewing 15 posts - 4,426 through 4,440 (of 5,590 total)