Mentor
28Jul2009,02:14   #11
xpi0t0s's Avatar
TWO_TASK is an environment variable. If you set TWO_TASK=foo, then "sqlplus scott/tiger" is equivalent to "sqlplus scott/tiger@foo". If TWO_TASK isn't set, then "sqlplus scott/tiger" will connect to the local database, and throw an error if there isn't one. That's all there is to it; it means you can do a TNS connection while thinking you're doing a local connection. You can think of it as a "default database alias" if you like, but probably best to think of it as what it is.
nimesh like this
Newbie Member
25Jan2011,21:27   #12
9648580081's Avatar
thnks interesting
could you please tell me all the default username and password in SQL
Mentor
25Jan2011,21:44   #13
xpi0t0s's Avatar
There isn't one. SQL is just a language; see http://en.wikipedia.org/wiki/SQL

Often Microsoft SQL Server is abbreviated to just SQL; have you done the same?