Solved

create schema in SQL 2000

Posted on 2010-08-18
5
239 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
  • 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

832 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