Viewing 15 posts - 31 through 45 (of 46 total)
I finally got this error figured out. After searching, posting and Tweeting I solved the problem by uninstalling SQL 2005. I know this is not an option for some but...
January 7, 2010 at 1:30 pm
Hummm. In my haste of trying to figure this out I missed the tree in spite of the forest. I forgot about that.
I think this will be the better solution....
June 13, 2009 at 7:10 am
Thanks.
But it seems I was not clear.
I need (want) to do this auto-magically based on the different users/server configurations.
I know how/where to find in SSMS.
It is...
June 12, 2009 at 3:17 pm
I have been tasked with writing and applying security to our Dev, Test, UAT databases. Our company is growing and the number of developers is increasing. Can you advise of...
April 3, 2009 at 11:49 am
Thanks for the article. Nice little snippet to add to my bag of tricks.
I usually create an ERD before creating the tables and keep that updated as things change.
But this...
March 26, 2009 at 2:15 pm
I see some of your points but not all.
The reason I am declaring and setting variables is because not all the data for the reports is in the first table....
December 22, 2008 at 8:34 am
Not sure how this helps me do separate inserts....
Peso (12/22/2008)
Or use the new OUTPUT operator?
CREATE TRIGGERTR_YOURTABLE_STATUSCHANGED
ONYOURTABLE
AFTER UPDATE
AS
INSERTSomeStatusTable
(
STATUS,
FORMID,
DATECOMPLETED
)
OUTPUTi.INVOICEID,
i.FORMID,
GETDATE()
INTOShippingQueue
(
INVOICEID,
FORMID,
DATEQUEUED
)
SELECTi.STATUS,
i.FORMID,
GETDATE()
FROMINSERTED AS i
WHEREi.STATUS = 3
AND i.FORIMID = 6
December 22, 2008 at 6:43 am
I am doing similar but the second insert is the only one inserting into the table.
December 22, 2008 at 6:13 am
Pseudo code
SET NoCount ON
If Exists(Select ... From Inserted where StatusID = 3 )
Begin
--Declare the variables
@FormID int...
Select
variables...
From Inserted
------------------------------------------------------------------------------
-- Settngs for other forms
Depending on the formid re-setting varibles to different...
December 22, 2008 at 6:10 am
I can't post all the code, I tried to clean it and it appears I messed it up more for the post. Oh well.
Thanks for the help.
December 15, 2008 at 11:16 am
Never mind all I figured it out.
April 28, 2008 at 1:11 pm
Aaron,
Thanks for your comment about the tables/trigger names.
But I posted my code for assistance NOT negative comments.
You would be more helpful to leave them out.
September 11, 2007 at 3:19 pm
Viewing 15 posts - 31 through 45 (of 46 total)