Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

batch scripts

Status
Not open for further replies.

twinmom

Programmer
Mar 22, 2002
4
US
EXPERIENCE: Newbie to SQL SERVER

In working with Oracle, I have been able to run batch scripts by invoking SQLPLUS via the Windows Command Line. In searching through some of the threads, I believe this can be done for SQL SERVER.

Can someone help get me started on how to write batch scripts for SQL SERVER? Some of my immediate questions are:

Is there a SQLPLUS equivalent? And what is it?
What is the logon format?
What reference manual or site would you recommend?
 
1) Use the OSQL utility.
2) Logon format depends on authentication method used.
3) SQL Books Online is the best resource. See faq183-689 - "What are SQL Books Online & Where Can I Find Them?" Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Hiya,

I was wondering if anybody knows a a program that will convert simple oracle sql scripts to mssql? I've tried Equivelent Script and it is not what I'm looking for. These are very simple scripts, no sp's or pl/sql.

any thoughts?

Sincere thanks,

jstricklin
 
Please ignore my previous post. I wasn't paying attention and posted as a reply instead of starting a new thread.

Thanks,

jstricklin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top