Hii ,
I am a bit new to SQL and would like some help to solve the following problem.
I have a database X which contains a table TABLE with column named domain.I retrieve these values and create one database for each value with that value as the database name . For example , if the domain has the values value1, value2, value3 there should be three databases created with names value1 , value2 and value3...and when i add a value to the TABLE in database X , a new database should be created with the value X.TABLE.domainvalue ... I need to write an SQLScript that accomplishes this.
Any help would be appreciated.
Links that would help me understand better are welcome.