I started to use SQL Server recently and I think that its simple to resolve
I did:
1 – Create table table_nome
2 – Drop table table_nome
3 – I'm trying to create a table with the same name, and stay with error in the table_name, written: "There is already an object named 'table_nome' in the database."
How can I fix it and create a table?
- if have some errors in the writing, I'm sorry, I'm from brazil and dont know English very well –
I'm using SQL server 2012.
Best Answer
you can do something like this, it will create and drop a table called t1, schema dbo