Hello,
I am trying to create a stored procedure in SQL that will build a
trigger only so far I have been completely unsuccessful due in part to my
inexperience in the matter. I was hoping that anyone who has some
experience in this matter might be able to help. Here is what I have been
trying.
Procedure TRIG_DTA
(Trigtablename IN varchar,
Tablename IN varchar, Seqtablename IN varchar) AS
BEGIN
CREATE OR REPLACE TRIGGER Trigtablename
before insert on Tablename
for each row
begin
select Seqtablename.nextval into :new.FLDUNIQUE_ID from dual
end;
END;
Can anyone lend me some guidance on the matter?
Bryan Langford
Web Info Specialist
National Customer Operations
Enterprise Services & Strategic Planning
Training Development and Design Team.
Desk: 714-695-4824
Cell: 714-270-8451
<?import namespace = t urn = "urn:schemas-microsoft-com:time" implementation
= "#default#time2" declareNamespace />
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists