Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 12th, 2004, 07:12 AM
Authorized User
 
Join Date: Jun 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default trigger not printing message MSDE

Hi everybody
Im using MSDE Rel A and ive installed the client tools from the SQLserver2k demo and im only on my 5th day of playing with SQLserver, its v cool :)

I have a trigger which should print a message like

print 'name of "' + @oldName + '" changed to "' + @newName + '"'

however when i run an update in the query analyzer the only message i recieve is the new name.

does anybody know where im going wrong?
 
Old August 13th, 2004, 05:04 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

What is there in @oldName and how does it get the value assigned to it? Hope posting some more code on that would help to find what you are missing.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
capturing printing settings when printing reports nikolaosk Access VBA 0 February 8th, 2005 04:14 AM
MSDE dogfish227 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 August 12th, 2004 05:07 AM
Retrive Error no or message from Trigger salman VB Databases Basics 0 May 5th, 2004 06:58 AM
MSDE stu9820 ASP.NET 1.0 and 1.1 Basics 3 October 2nd, 2003 02:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.