Solved

create schema in SQL 2000

Posted on 2010-08-18
5
250 Views
Last Modified: 2012-06-27
create schema schematest

the above does not give an error (hit it accidentally again today)

what actually happens when it is compiled?

thanks
0
Comment
Question by:anushahanna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
Om Prakash earned 450 total points
ID: 33464632
Creates a schema that can be thought of as a conceptual object containing definitions of tables, views, and permissions.
http://msdn.microsoft.com/en-us/library/aa258256(SQL.80).aspx
0
 
LVL 3

Assisted Solution

by:PrakashRaoBS
PrakashRaoBS earned 50 total points
ID: 33464704
Schema is nothing but its a container of objects in database.

create schema schematest
just creates a schema in the current database( the databae where the comman executed).

you can drop the schema schematest from database easily by running the following command in that particular database.


use databaseName;
drop schema schematest

Open in new window

0
 
LVL 6

Author Comment

by:anushahanna
ID: 33464813
om_prakash_p, you mean that in SQL 2005, right?

PrakashRaoBS, drop schema schematest gives error in SQL 2000, but create is fine..
0
 
LVL 22

Expert Comment

by:Om Prakash
ID: 33465117
In SQL 2000
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33465635
very interesting. thanks for that helpful info.

is CREATE SCHEMA the same as CREATE SCHEMA AUTHORIZATION?

and you could not drop DROP SCHEMA AUTHORIZATION?
0

Featured Post

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question