Unix Technical Forum

Error in Creating table in Sql server 2000

This is a discussion on Error in Creating table in Sql server 2000 within the SQL Server forums, part of the Microsoft SQL Server category; --> AA! I am having problems on creating table through Enterprise Manager. It gives me Error 1038 i.e. is as ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 09:07 PM
--[zainy]--
 
Posts: n/a
Default Error in Creating table in Sql server 2000

AA!

I am having problems on creating table through Enterprise Manager. It
gives me Error 1038 i.e. is as follows

Unexpected Error

ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot use
empty object
or column names. Use a single space if necessary.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 09:07 PM
Erland Sommarskog
 
Posts: n/a
Default Re: Error in Creating table in Sql server 2000

--[zainy]-- (zainys@gmail.com) writes:
> I am having problems on creating table through Enterprise Manager. It
> gives me Error 1038 i.e. is as follows
>
> Unexpected Error
>
> ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot use
> empty object
> or column names. Use a single space if necessary.


Don't create tables through EM. Use CREATE TABLE instead. That pays off in
the long run.

Apparently you did something you shouldn't have done, but without more
information it's impossible to say.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 09:08 PM
--[zainy]--
 
Posts: n/a
Default Re: Error in Creating table in Sql server 2000


Erland Sommarskog wrote:
> --[zainy]-- (zainys@gmail.com) writes:
> > I am having problems on creating table through Enterprise Manager. It
> > gives me Error 1038 i.e. is as follows
> >
> > Unexpected Error
> >
> > ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot use
> > empty object
> > or column names. Use a single space if necessary.

>
> Don't create tables through EM. Use CREATE TABLE instead. That pays off in
> the long run.
>
> Apparently you did something you shouldn't have done, but without more
> information it's impossible to say.
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/pro...ads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinf...ons/books.mspx


When i right click on table Tag(In EM) under my database and select New
Table then it gives me that error...

It works fine on my other PCs which i installed with the same version
of SQL SERVER 2000....
This error persists on 2nd install as well....

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-29-2008, 09:08 PM
Erland Sommarskog
 
Posts: n/a
Default Re: Error in Creating table in Sql server 2000

--[zainy]-- (zainys@gmail.com) writes:
> When i right click on table Tag(In EM) under my database and select New
> Table then it gives me that error...
>
> It works fine on my other PCs which i installed with the same version
> of SQL SERVER 2000....
> This error persists on 2nd install as well....


Interesting...

And you access the same database from the PCs where it works?

The only tip I can give is that you run a Profiler trace when you click
on New Table, and then try to find out how the failing command looks like.
You should add TSQL:BatchStarting and RPC:Starting to the default events.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com