I read in a thread that you are studing and getting ready to take the SQL Server Certification.
Here is a little question just to keep you ready hehehe
(what are friends for after all?)
How would I write a Trigger that would check if an account exists or not when a new Client is created or updated.
Of course, if it doesn't exisit, the trigger should create the account.
Tables: tblClients, tblAccounts
Relation: tblClient.pkClientID = tblAccount.fkClientID
go get them buddy!!
ps. yes, I want the answer hehehe
Here is a little question just to keep you ready hehehe
(what are friends for after all?)
How would I write a Trigger that would check if an account exists or not when a new Client is created or updated.
Of course, if it doesn't exisit, the trigger should create the account.
Tables: tblClients, tblAccounts
Relation: tblClient.pkClientID = tblAccount.fkClientID
go get them buddy!!
ps. yes, I want the answer hehehe