Viewing 15 posts - 4,876 through 4,890 (of 9,643 total)
To add to Gail's comment, you should look into SCOPE_IDENTITY() or the new OUTPUT clause (the recommended solution).
June 25, 2009 at 3:06 pm
You could loop through the databases using sp_msforeachdb. Check out this article for how to use it.
June 25, 2009 at 3:01 pm
This query "may" be better:
SELECT
at.UPC as UIC,
ut.Addr_City as City,
at.Auth_Para_Dsg as PARA,
at.Auth_Line_Dsg as LINE,
...
June 25, 2009 at 2:36 pm
Is there an error regarding permissions being returned or is there just no data being returned? I have done some testing and a database user in the db_datareader role...
June 25, 2009 at 2:23 pm
I reply to PM's but not emails, unless from a select few users. I actually use PM's instead of email in most cases also.
June 25, 2009 at 1:43 pm
Can you provide some structures and a sample query? I believe that the db_datareader role should be able to query xml columns.
June 25, 2009 at 1:29 pm
Good article David. I know that I probably don't put enough time into the writing process, even though I usually spend many hours over a couple of weeks writing...
June 19, 2009 at 1:53 pm
Manie,
I'll add it to my list, although that is more like a book than a SSC article. Have you checked out Brad McGehee's free eBook on Profiler, http://www.sqlservercentral.com/articles/books/65797/? ...
June 19, 2009 at 1:19 pm
Another week, another few hundred posts to read through. At least we found out Roy isn't as fat as Jabba the Hut and Barry isn't a lawyer.
I...
June 19, 2009 at 1:04 pm
Okay, I was dark for about a week and I missed a ton. A troll, troll names (mine came out as "I Want to Spank You Troll"), world cup,...
June 15, 2009 at 5:59 pm
I'm gonna be offline most, if not all of this week. Taking a vacation and for part of the time, I'll be somewhere with no cell coverage or broadband....
June 9, 2009 at 7:07 am
Tom Brown (6/8/2009)
I never did computers...
June 8, 2009 at 12:30 pm
Thanks for providing the feedback. You ought to talk to the vendor about using @@Identity when using SCOPE_IDENTITY() or the OUTPUT clause will eliminate this problem.
June 6, 2009 at 11:22 pm
Great. I'm glad that this seems to have worked. I hope the problem is solved.
June 6, 2009 at 10:46 pm
Viewing 15 posts - 4,876 through 4,890 (of 9,643 total)