| Forum |
|
|||||||
| Software Q&A Having trouble with software? Find solutions here |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Cool and Calm
Join Date: Jul 2006
Location: Bangalore
Posts: 395
|
when i construct simple queries, i can't run them either with Oracle 10g or with MySQL. They show 'Not connected to server'.....or something like that. this is obvious as there is no server or a central system to store the database queries.... so how to run these on a single standalone PC?
__________________
When Roger's at play, opponents pray..!!!!! |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#2 (permalink) |
|
Torrent Lover :)
Join Date: Nov 2006
Location: Chandigarh
Posts: 178
|
1) Open notepad
2) Copy the following code:- @echo off echo connect INTERNAL/ORACLE >%0.tmp echo STARTUP OPEN >>%0.tmp echo exit 8; >>%0.tmp rem -- Run sql script -- sqlplus /nolog @%0.tmp rem -- Cleanup -- del %0.tmp 3) Save the file as "Start.bat" 4) Run this file and then try your SQL commands in MySql. Hope this will work for you.. Do let me knw if u face any prob still ! |
|
|
|
|
#3 (permalink) |
|
God of Mistakes...
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,905
|
when u got SQL> on Oracle 10g, write 'connect' there.
and use username as scott 'n password as tiger. or username as system and username u provided on installation
__________________
Registered Linux User #468778 ---------------------------------- http://twitter.com/_Garbage_ |
|
|
|
|
#6 (permalink) |
|
Cool and Calm
Join Date: Jul 2006
Location: Bangalore
Posts: 395
|
the batch file got executed in a flash and went off.
then once again i opened mysql command line and created a table(query).... it didnt accept saying, 'no database selected'
__________________
When Roger's at play, opponents pray..!!!!! |
|
|
|
|
#7 (permalink) |
|
In The Zone
Join Date: Oct 2006
Location: Mumbai
Posts: 360
|
don't just jump on oracle it is very advance database server start from mssql
it is available free @ msdn.com for developer and student.
__________________
Dhiraj Thakur thakur.dheeraj(@)gmail.com |
|
|
|
|
#8 (permalink) |
|
God of Mistakes...
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,905
|
Why u don't tried with GUI ???
Oracle 9i onwards support Browser based database creation!
__________________
Registered Linux User #468778 ---------------------------------- http://twitter.com/_Garbage_ |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|