Viewing 15 posts - 6,106 through 6,120 (of 9,643 total)
You have other options as well.
YOu could create a view in the new database and access the view. Then if there are any changes to the other database you...
February 4, 2009 at 7:28 am
Have you verified that the query in the NOT EXISTS is correct?
You do have a couple of flaws in the T-SQL for the trigger as well.
1. If...
February 4, 2009 at 7:15 am
From BOL (bolding added):
To send Database Mail, you must be a member of the DatabaseMailUserRole database role in the msdb database.
Profile security. Database Mail enforces security for mail profiles. You...
February 4, 2009 at 7:06 am
Here's a thread with an example of an INSTEAD OF trigger, although you could use an AFTER trigger in this situation as well.
http://www.sqlservercentral.com/Forums/Topic649749-146-1.aspx
Oh, and I'd enforce this in a Stored...
February 4, 2009 at 7:00 am
Global temporary tables (##table_name) are named in the application. Temporary tables (#table_name) get the name given by the application plus an identifier by SQL Server. You can see...
February 4, 2009 at 6:51 am
Are you sure the user that is executing the source query has rights on the other database? Cross-Database ownership chaining is disabled by default in SQL Server 2005.
February 4, 2009 at 6:42 am
TO change the query timeout you can do this:
cmd.CommandTimeout = [desired timeout in seconds]
You still didn't answer my questions as to what happens when you run the sp in...
February 4, 2009 at 6:35 am
I don't have any experience with Dyanamics or Dexterity so I'm not sure I can be of anymore help. I suppose it could bethe use of Citrix is causing...
February 4, 2009 at 6:18 am
It will work with a table of any size. It will take longer to run, but it will work. As an aside 12000 rows really isn't a large...
February 4, 2009 at 6:14 am
What is the column you have the filter on?
Was it filtering the trigger correctly in the Profiler GUI?
February 3, 2009 at 8:39 pm
First off, please take note of how I prepared your test data so that it could be used easily. You should read the articles in my signature to learn...
February 3, 2009 at 8:35 pm
Well this works for any statements that return results. If you want to set this for all SSMS sessions, including new ones, when you open SSMS go to Tools...
February 3, 2009 at 8:21 pm
Grant Fritchey (2/3/2009)
GilaMonster (2/3/2009)
Grant Fritchey (2/3/2009)
Any Babylon 5 fans?Entil'zha Veni. In Valen's Name!
We live for the one. We die for the one.
HA! Ya'll are in trouble now.
Man, I haven't...
February 3, 2009 at 7:53 pm
Do you want to suppress results to an application or just within an SSMS session?
February 3, 2009 at 7:48 pm
Viewing 15 posts - 6,106 through 6,120 (of 9,643 total)