Viewing 15 posts - 5,836 through 5,850 (of 15,381 total)
Farlzy (1/29/2014)
Surely the only way you'd achieve this is with dynamic sql, which would be an absolute pig to maintain.
That is a pretty bold statement to make when we don't...
January 29, 2014 at 7:39 am
latitiacasta (1/29/2014)
I have excel file as below.
name addressText
helen chicago acon,vosl
jeniferNYC ...
January 29, 2014 at 7:20 am
Can you generate execution plans? It would be very helpful to see the actual execution plan from a query that is slow.
For maintaining indexes you should check out this link....
January 28, 2014 at 3:09 pm
Awesome job posting ddl and sample data. Your explanation was quite clear too. This seems to be an art form that so many people are unwilling or unable to do...
January 28, 2014 at 2:45 pm
CRC (1/28/2014)
January 28, 2014 at 1:40 pm
OK I read your post again and was horribly confused by the query in the middle until I realized that is what you used to fill your table variable.
Here...
January 28, 2014 at 1:17 pm
Not entirely sure what you want here. Do you want only the first row to show customer_id and any subsequent rows to hide that value? Essentially providing a report style...
January 28, 2014 at 1:14 pm
Your sample data will not reproduce this issue. However, the reason you are getting "duplicate" rows is because in at least one of your additional tables your join matches on...
January 28, 2014 at 11:40 am
GilaMonster (1/28/2014)
Sean Lange (1/28/2014)
GilaMonster (1/28/2014)
January 28, 2014 at 9:00 am
mike.conti (1/28/2014)
This works: SELECT top 10 * FROM ACTI**_**
it does not appear in when i run this SELECT * FROM sys.tables WHERE...
January 28, 2014 at 8:46 am
GilaMonster (1/28/2014)
When there are multiple triggers for the same action (multiple insert for example), you can defined which one runs first and which one runs last, but that's it.
Interesting....
January 28, 2014 at 8:31 am
mike.conti (1/28/2014)
This works: SELECT top 10 * FROM ACTI*****_****
it...
January 28, 2014 at 8:24 am
ramana3327 (1/28/2014)
January 28, 2014 at 8:18 am
jasona.work (1/27/2014)
And Sean - THANK YOU! I'll tweak what you gave me to return the columns I need...
January 27, 2014 at 12:56 pm
Terry Bottorff (1/27/2014)
January 27, 2014 at 11:54 am
Viewing 15 posts - 5,836 through 5,850 (of 15,381 total)