Viewing 15 posts - 12,526 through 12,540 (of 15,381 total)
This looks a lot like the classic "catch all" query. Take a look at this article about this type of thing. It will likely perform a lot better than either...
April 6, 2012 at 8:41 am
Hugo Kornelis (4/6/2012)
Sean Lange (4/6/2012)
April 6, 2012 at 8:35 am
OK so we have sample data and desired output but I don't understand what the output represents. Can you explain what you are trying to do here?
April 6, 2012 at 8:30 am
Jack Corbett (4/6/2012)
Hugo Kornelis (4/6/2012)
No, a foreign key constraint can not be created across...
April 6, 2012 at 7:48 am
Sivag you seem to be missing three items from your question.
1) ddl
2) sample data
3) desired output based on your sample data
Basically that means at this point you...
April 6, 2012 at 7:25 am
A linked server functions as the login that is used to establish the linked server. That means that it has whatever permissions are granted to the user or role that...
April 5, 2012 at 12:28 pm
You're welcome. Thanks for letting us know that worked for you.
April 5, 2012 at 8:55 am
capn.hector (4/5/2012)
Sean Lange (4/5/2012)
Eugene Elutin (4/5/2012)
Sean Lange (4/4/2012)
You have to either use a datetime variable or put your string representation inside single quotes.
select * from TICKET where createDate > '4/1/2012'
Is...
April 5, 2012 at 8:40 am
Unless the product list is going to exceed 8,000 characters there is no need to use CLR for this. The code I provided is a delimited list with no CLR...
April 5, 2012 at 8:32 am
Hi and welcome to SSC. In order for anybody to begin being able to help you, you first have to help us. You have not provided anywhere near enough information.
Take...
April 5, 2012 at 8:26 am
With 600+ points surely you know you should provide ddl and sample data. Please do at least that much next time.
Try this.
declare @tbl table (
...
April 5, 2012 at 8:19 am
Take a look at the link in my signature. It is super fast.
April 5, 2012 at 7:49 am
Since you know it is ALWAYS there the post Lowell shared above should work just fine. You may have to tweak it slightly to get exactly what you want.
April 5, 2012 at 7:39 am
You could use either the server name of the IP address.
April 5, 2012 at 7:37 am
Viewing 15 posts - 12,526 through 12,540 (of 15,381 total)