SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQLCMD.exe returning error code 1 while creating database(.sql and .bin files).


SQLCMD.exe returning error code 1 while creating database(.sql and .bin files).

Author
Message
reddy.reddappa
reddy.reddappa
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 8
Hi,

I am using SQL Server 2005 Express edition to create Database instance(Named Instance) and create database(executing .sql and .bin file) on the named instance.
In the above case i succeeded in creation of database instance(Named instance) but while creating database on the instance i am getting error code 1.
Note:- For creating database instance i am using OSQL.exe and SQLCMD.exe. Using OSQL.exe i am executing .sql files and using SQLCMD.exe i am executing .bin files.But i am not facing any issue with OSQL.exe i am facing issue with SQLCMD.exe.
Following command i am executing using SQLCMD.exe

C:\Program Files\Microsoft SQL Server\90\Tools\Binn\SQLCMD.exe -S \InstanceName -d DatabaseName -i C:\database.bin

the above command returns error code 1.

If any body knows the root cause please help me ASAP.

Thanks in Advance.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search