Reputation: 31
Can someone please tell me what does it mean @test.sql in the Oracle command:
sqlplus sys/pw@somedb as sysdba @test.sql
Upvotes: 1
Views: 227
Reputation: 836
sqlplus sys/pw@somedb as sysdba can be also written as sqlplus sys/pw@sid as sysdba , it mean is you use passwordfile authorization and @test.sql is the script ,you want to get executed.
Upvotes: 0
Reputation: 312404
test.sql
is a script to be executed.
This entire line logs into somedb
with user sys
using password pw
as sysdba and runs the test.sql
script.
Upvotes: 3