Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What is the meaning of this statment in sql

Posted on 2012-03-15
4
Medium Priority
?
614 Views
Last Modified: 2012-03-15
Hi experts

what is the meaning of the following statmetn in batch file xyz.bat ?

sqlplus /nolog @move_data.sql

pause
0
Comment
Question by:Haidar1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 9

Assisted Solution

by:sachinpatil10d
sachinpatil10d earned 375 total points
ID: 37723684
sqlplus

/nolog
Starts SQL*Plus but does not log on (connect) a user/session.
A connection can then be made in SQL*Plus with connect.
@
Executes the script following the @


for more details use
sqlplus -h
0
 
LVL 16

Accepted Solution

by:
Wasim Akram Shaik earned 375 total points
ID: 37723996
yes, as the expert sachinpatil said, you can login to sqlprompt without connecting to database..

showing you the screenshot of your case and  the sequence of the steps that will happen..

sqlplus /nolog @move_data.sql

first it will get connected to sqlplus like this

C:\Documents and Settings\Administrator>sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 15 14:58:00 2012

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL>

Open in new window


after getting connected to this prompt.. the @ part file move_data.sql gets executed...
0
 

Author Closing Comment

by:Haidar1
ID: 37724129
Dear All Thansk for your help
0
 
LVL 16

Expert Comment

by:Wasim Akram Shaik
ID: 37724218
why this answer was accept only as Good..???

have you expected more??

incase if you are looking for more? what good we have missed out, please let us know which will help us in answering better in future..!!!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

730 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