SQL server: To create a table inside a schema -


i wish create table t1. , when execute query table should include in humanresources schema exists in database.

how should change query this? table t1 humanresources schema?

create table t1 (     id  int,     name varchar(20) ) 

create table humanresources.t1 (...); 

in attempt, trying add database called humanresources , schema dbo. it's database.schema.object.

edit

in response op's comment, question has been answered here: how create sql table under different schema?


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -