Sample Header Ad - 728x90

Exec An SQL query in a table in Database 'B' from database 'A'

0 votes
2 answers
339 views
i have this Table sequence_data in database A . The table has create script for sequences . No I want to create all these sequences in another database B. If it is the same database i can just use a while loop and execute this one by one using the id field. BUT HOW DO I DO THIS if I want to create this sequences on DATABASE B. enter image description here
Asked by Viz Krishna (109 rep)
Jan 5, 2023, 06:32 AM
Last activity: Jan 5, 2023, 11:36 AM