Link to home
Start Free TrialLog in
Avatar of Fay A
Fay A

asked on

create a trigger

I am trying to make a trigger (create/alter and delete) when a table is created on database1 on sqlbox1 then I want a view of this table to be created on database2 on sqlbox2 (a different database box)

any ideas?

thanks.
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Create a Linked server on sqlbox2 which may see all the tables on sqlbox1. No need to create a view.
Avatar of Fay A
Fay A

ASKER

Well for our needs, we need to create a view.
SOLUTION
Avatar of Mark Wills
Mark Wills
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Fay A

ASKER

yes, I would like to get more attention to the question that I got in return by posting it differently.