Solved

create schema in SQL 2000

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now