How to connect SQL Dev to local database?

Hi all,
I have a local database on my laptop. I connect to the database using direct connect without passing the listener and tnsnames.ora, because I shut it down.
How can I connect my SQL Developer to the database using direct connect?
Thanks

I don't think this is possible because even the basic connection type requires to give a hostname, port number and Oracle SID:
http://download.oracle.com/docs/cd/E18464_01/doc.30/e17472/dialogs.htm#BACEDDJF

Similar Messages

  • How to connect captivate file in a database (MS SQL SERVER 2008)

    Hi...
    How to connect captivate file in a database (MS SQL SERVER 2008) ???
    Kindly response please..
    thanks!!!

    Hi there
    See if the link below helps you out.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to connect SQL server

    Hi
    I want to know how to connect SQL server using DNSless connection ?
    /* 2003/02/06 eric.leung
    * Source : HOME
    import java.sql.*;
    import java.lang.*;
    public class ejdbcsel {
         public static void main(String args[]) {
              // eric_jsp is ODBC User DNS
              // String url = "jdbc:odbc:eric_jsp";     
              // Using DSNless connection
              String url = "";
              url = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)}" +
              ";SERVER=127.0.0.1;DBQ=c:\\example\\ERIC_JSP.mdb";
              Connection con;
              String query;
              query = "select * from pt_mstr";     
              Statement stmt;
         try {     
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         } catch (ClassNotFoundException e) {
              System.err.print("ClassNotFoundException " );
              System.err.println(e.getMessage());
         try {
              con = DriverManager.getConnection (url,"","");
              stmt = con.createStatement();
              ResultSet rec = stmt.executeQuery(query);          
              // Scan the Database
              while(rec.next()) {
                   System.out.println(rec.getString("pt_part") + "\t"
                   + rec.getString("pt_desc"));     
              stmt.close();
              con.close();
         } catch (SQLException ex) {
              System.err.println("SQLException: " + ex.getMessage());
         catch (Exception e) {
              System.err.println("Error: " + e.toString() + " " + e.getMessage());

    Use a driver...
    http://java.sun.com/products/jdbc/driverdesc.html
    http://industry.java.sun.com/products/jdbc/drivers

  • How to connect Sql Server 2000 using JDBC ODBC Driver

    How to connect Sql Server 2000 using JDBC ODBC Driver ?
    plz Send Syntax.
    thanks

    In SQL Server 2000 the driver class is com.microsoft.jdbc.sqlserver.SQLServerDriver
    The connection URL for the default SQL Server 2000 database is jdbc:sqlserver://localhost:1433
    Class.forName(
      "com.microsoft.sqlserver.jdbc.
      SQLServerDriver");
    String url =
      "jdbc:sqlserver://localhost:1433";
    Connection conn = DriverManager.
      getConnection(
      url, "sa", "sqlserver");

  • How to connect sql server 2008 r2 sp2 with vs2013 ultimate?

    how to connect sql server 2008 r2 sp2 with visual studio 2013 ultimate?

    Hi Shahzad,
    >>how to connect sql server 2008 r2 sp2 with visual studio 2013 ultimate?
    Based on your issue, if you wan to connect the sql server 2008 r2 sp2 from VS2013 IDE. I suggest you can try the Ammar and darnold924's suggestion to check your issue.
    In addition, I suggest you can also refer the following steps to connect the sql server 2008 r2 sp2 with visual studio 2013 ultimate.
    Step1: I suggest you can go to VIEW->SQL Server Object Explorer->Right click SQL Server->Add SQL Server.
    Step2: After you connect the SQL Server 2008 r2 sp2 fine, I suggest you can go to VIEW->Server Explorer-> right click the Data Connection->Add Connection.
    And then you can create the connect string in the Add Connection dialog box.
    Hope it help you!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to connect to an Oracle XE database from Forms

    Hello,
    I have just installed Oracle XE on my computer. After that I downloaded Oracle Developer Suite. My intention is to build programs with Forms. This forms program shall manage data stored in my Oracle XE database.
    My question is: How to connect to the Oracle XE database from forms. In forms developer I have tried to connect the database with the command Ctrl+J. Then I registered username, password and oracle instance (orcl). It will not work!
    best regards
    Håkan Axheim

    Hello,
    the tnsnames.ora must have been updated with the XE information.
    the SID for Xpress Database is always XE
    XE =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = XE)
      )Francois

  • How to connect sql database with Flash

    Dear Friends,
    Iam working on a quessinarie (assesment) for elearning software. i want to connect sql database with flash and save my records in back end like add, delete, modification of student result and details.
    Kindly help me to connect the sql database. or dot net server. I know how to connect PHP and mysql. But my client dont want php. only sql database and do the add, del, modificaiton.
    Thanks in advance,
    Syed Abdul Rahim

    unfortunately no, i do not know ASP well enough to give any code advice, other than the basic concept:  make a request on a server-side script (such as ASP) via URLLoader - the script receives variable values (if required), runs the DB queries you wish to invoke, and 'returns' the results - pick them up in the URLVariables class via the event handler in Flash and assign them to local properties if needed, etc.
    there are quite a few threads that you could find more specific information on the ASP side, here and elsewhere around the net.

  • How to use SQL Dev with MySQL DBs ? Connection Setup

    As far as I know SQL Dev can be used with MySQL databases as well.
    How do I have to setup the connection for MySQL?
    In detail what do I have to enter for
    -role
    -connection type
    SID/ServiceName
    Or is there a separate version for Oracle and MySQLß
    Peter
    Edited by: user5328442 on Jan 5, 2011 9:23 AM

    Hi,
    After downloading the MySQL plugin did you add the details in the third party database list ?
    Do the following -
    - Tools
    - Preferences
    - expand the Database option if necessary
    - Third Party JDBC Drivers
    - add the location and file name of the plugin.
    On my setup it is -
    D:\mysql_jdbc\mysql-connector-java-5.0.8\mysql-connector-java-5.0.8-bin.jar
    The driver may be different if you have a later version.
    Regards,
    Mike
    Edited by: mkirtley on Jan 7, 2011 9:46 AM

  • Cancelling Query Results in Continually Busy Connection -- SQL Dev 2.1 EA2

    Hello All --
    I am running SQL Developer 2.1 EA2 on the Windows 7 Release Candidate (64-bit). I have had issues when canceling long-running queries. Usually what happens is I run something, and realize after a couple of minutes that it's going to take quite a while to run. So, I click the cancel button. Things seem OK, I can resume editing the query. However, when I try to re-run the query (after modifying it) or even just to run an explain plan, I find that I can't re-connect to the DB. I go to the connection pane to try to disconnect and reconnect to the server in question, but when I try to disconnect I keep getting error messages about the connection still being busy, would I like to Retry or Abort? I can keep clicking either of the options ad infinitum with no results.
    I have to kill SQL Developer from Task Manager and re-start. I am connecting for the most part to Oracle 10.2.0.4 databases (10g2), some RAC, some stand-alone.
    EA2's behavior is better than SQL DEV 1.5.x, which would simply often lock, but this is still frustrating.
    Thanks!

    This definitely occurs in 1.5.5 - in my particular case, and this is really strange, if one uses Task Manager to shut down SQLDeveloper because it is just taking forever to get a Data view (via the + expand sign on the side of a given admittedly big table, then clicking on the Data tab), SQLDeveloper freezes. Even if I start a new instance of SQLDeveloper, and ask for a Data view again, it freezes - I've waited as much as 1/2 hour, where as in prior days I'd get a response within say 1 min.
    I've even uninstalled and re-installed. Same deal. This is what's the strangest by far. How can it be that SQLDeveloper remembers that a long running query was once canceled even after an uninstall / reinstall ? I could not find anything remotely related to this in the Registry after the uninstall either.
    [By the way, if on the other hand, I say SELECT * FROM {table_name}, I get an instant response !]

  • How to Connect SQL Server enterprises Manager Version 8.0 with Form 6i

    Dear experts
    I want to know that How can I connect SQL server Enterprise Manager Version 8.0 with Forms/reprots 6i.
    currently I have oracle 9i database at server windows 2003 and I also connected with client (my PC) I work on server.
    I also have SQL server in that server 2003 machine and this SQL Server also work with other clients that have VB program.
    I want to know that can I connect with this SQL server with Form 6i?

    You can't. The closest thing would be to create links in an oracle database to the SQL Server database using Heteregeneous Services and connect forms to the that.
    This forum is for the SQLDeveloper tool. You will get more complete answers in the "Database General", or "Heterogeneous Services" forums

  • How to connect sql server using oracle Client

    Hi,
    I am working in oracle9i and windows os 32 bit.
    I need to connect SQL server 2000 from my oracle client..
    I heard about heterogeneous connectivity ...
    Please expalin me the steps what to add and how to connect the sql server...
    Regs....

    Are you trying to connect to SQL Server from your Oracle database (i.e. create a database link in Oracle to SQL Server)? Or are you trying to connect to SQL Server using your Oracle client software (i.e. SQL*Plus)?
    The former just requires Heterogeneous Services with Generic Connectivity. The latter is functionality that has been depricated and probably no longer works in your environment.
    Justin

  • Trouble connecting Reporting Services to local database

    I am experiencing issues trying to configure/connect the Reporting Services in order to change the database to a local database.

    Hi Ralph,
    According to your description, it seems that you are trying to connect to a local database when create a data source in a Reporting Services report.
    If in this scenario, in the Connection Properties dialog box, we can type . or localhost or server_name in the Server name textbox. Then select the database, Windows Authentication or SQL Server Authentication to log on the server. For more details,
    please see the following blog:
    http://blogs.technet.com/b/microsoft_in_education/archive/2013/01/31/ssrs-101-creating-a-shared-data-source.aspx
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to connect sql developer OE schema and Hr schema,

    Hi ,
    I downloaded Oracle 10g express edition and SQL developer downloaded in my computer, I don't know how to connect to OE and HR schema, by default the SQL developer and Oracle 10g has only sytem and sys database. And as well I wanted to migrate datas from third party datas , could anyone please , pllease guide me. I am new to this field and just started to learn. what is listener and how to activate Listener and Repositary
    Please guide me.
    Thanks in advance
    Chan

    The HR schema installs fine in XE, but the OE schema doesn't quite. I've done it, but there will be errors. The reason is that the OE schema uses some features of XML DB that are not supported in XE. If you want to use the OE schema in XE and you don't mind if it isn't a complete OE schema, then you can get the installation scripts from an Oracle SE or EE installation.
    You can also get it from the companion disk for Oracle SE or EE, but this is a bit challenging, because you can't get it by running OUI unless you first install Oracle SE or EE. You need to run an archive utility like WinZip or 7-Zip and look for the scripts inside a compressed file - I forget which one, but I'll look it up if you like. Oh, and since the OE schema isn't really supposed to be installed on XE, Oracle does not support any of the methods for putting it there.

  • How to connect SQL SHAPED Child RecordSet to A VB6 Embeded Sub Report?

    Please Help me in connect SQL SHAPED Child RecordSet to A VB6 Embeded Sub Report.
    Here is the Code I am currently Using in VB6 SP6.
    I want to Connect to "Command1" Child Recordset with "item" Sub Report.Please Help Me.
    Option Explicit
    ' The ADO connection to the local database.
    Public oConn As ADODB.Connection
    Public ocmd1 As ADODB.Command
    Public ocmd2 As ADODB.Command
    Public ocmd3 As ADODB.Command
    Dim rs As ADODB.Recordset
    Dim rs_sb1 As ADODB.Recordset
    Dim rs_sb2 As ADODB.Recordset
    Public invoice_report As New CrystalReport1
    Public itemsub_report As Report
    Public servicesub_report As Report
    Public sConnectString As String
    Public strSQL As String
    Dim ADOrs As ADODB.Recordset
    Private Sub Form_Load()
    minvno = 3
    'msubtype_id = 16
    'Create ADO Connection object
    Set oConn = New ADODB.Connection
    sConnectString = "Provider = MSDataShape;Data Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & App.Path & "\stocks\business.mdb;" & "Persist Security Info=False;" & "User ID=Admin;" & "Jet OLEDB:Database Password=apple14;"
    oConn.Open sConnectString
    'Create ADO Command object
    Set ocmd1 = New ADODB.Command
    Set ocmd1.ActiveConnection = oConn
    ocmd1.CommandText = " SHAPE {SELECT invoices_customer., contacts., invoice_subtypes.* FROM invoices_customer, contacts, invoice_subtypes WHERE invoices_customer.contact_id = contacts.contact_id AND invoices_customer.subtype_id = invoice_subtypes.subtype_id AND invoices_customer.inv_no = " & minvno & " AND invoices_customer.type = 'service'} AS invoice_customer APPEND ({SELECT * FROM `item_customer`} AS Command1 RELATE 'inv_no' TO 'inv_no','invoices_customer.subtype_id' TO 'subtype_id') AS Command1,({SELECT * FROM `service_customer`} AS Command2 RELATE 'inv_no' TO 'inv_no','invoices_customer.subtype_id' TO 'subtype_id') AS Command2"
    ocmd1.CommandType = adCmdText
    Set rs = New ADODB.Recordset ' Recordset for the main report
    Set rs = ocmd1.Execute
    Dim crs As ADODB.Recordset
    Set crs = rs.Fields("Command1").Value
    'Set crs = rs!command1.Value
    Me.Caption = crs.RecordCount
    ' Add the datasource to the report
    invoice_report.Database.AddADOCommand oConn, ocmd1
    ' Connect the recordset to the main report
    invoice_report.DiscardSavedData
    invoice_report.Database.SetDataSource rs, 3, 1
    invoice_report.AutoSetUnboundFieldSource crBMTName
    If rs.RecordCount > 0 Then
    With invoice_report
    .Field1.SetUnboundFieldSource ("{ADO.date}")
    If rs("post") = "None" Then
    .Field2.SetUnboundFieldSource ""
    Else
    .Field2.SetUnboundFieldSource ("{ADO.post}")
    End If
    .Field4.SetUnboundFieldSource ("{ADO.name}")
    .Field5.SetUnboundFieldSource ("{ADO.address}")
    .Field6.SetUnboundFieldSource ("{ADO.mpay}")
    If rs("mpay") = "Cash" Then
    .Text2.SetText ""
    Else
    If rs("mpay") = "Cheque" Then
    .Text2.SetText "Cheq.Date"
    .Field7.SetUnboundFieldSource ("{ADO.cheque}")
    .Field8.SetUnboundFieldSource ("{ADO.bank}")
    .Field9.SetUnboundFieldSource ("{ADO.cheque_date}")
    Else
    If rs("mpay") = "Credit Card" Then
    .Text2.SetText "Exp.Date"
    .Field7.SetUnboundFieldSource ("{ADO.ccard}")
    .Field8.SetUnboundFieldSource ("{ADO.bank}")
    .Field11.SetUnboundFieldSource ("{ADO.cctype}")
    .Field9.SetUnboundFieldSource ("{ADO.exp_date}")
    Else
    End If
    End If
    End If
    .Field10.SetUnboundFieldSource ("{ADO.vno}")
    End With
    Else
    End If
    invoice_report.Subreport1.OpenSubreport.Database.AddADOCommand oConn, ocmd1
    'Set itemsub_report = invoice_report.Subreport1.OpenSubreport
    Set itemsub_report = invoice_report.OpenSubreport("item")
    ' connect the other recordset to the sub-report
    itemsub_report.DiscardSavedData
    itemsub_report.Database.SetDataSource rs, 3, 1
    itemsub_report.AutoSetUnboundFieldSource crBMTName
    If rs.RecordCount > 0 Then
    With itemsub_report
    '.Text1.SetText "Invoice - " & rs("subtype")
    .Text1.SetText "Invoice - " & itemsub_report.Database.Tables(1).Fields(41).Name
    .Field2.SetUnboundFieldSource itemsub_report.Database.Tables(1).Fields(41).Name
    ' .Field1.SetUnboundFieldSource ("{ADO.Command1-qty}")
    '.Field2.SetUnboundFieldSource ("{ADO.Command1-brand}")
    .Field3.SetUnboundFieldSource ("{ADO.Command1-brand_id}")
    .Field4.SetUnboundFieldSource ("{ADO.Command1-category}")
    .Field5.SetUnboundFieldSource ("{ADO.Command1-price}")
    .Field6.SetUnboundFieldSource ("{ADO.Command1-value}")
    .Field7.SetUnboundFieldSource ("{ADO.job_no}")
    End With
    invoice_report.Field12.SetUnboundFieldSource ("{ADO.item_charge}")
    Else
    End If
    invoice_report.Subreport2.OpenSubreport.Database.AddADOCommand oConn, ocmd1
    Set servicesub_report = invoice_report.Subreport2.OpenSubreport
    ' connect the other recordset to the sub-report
    servicesub_report.DiscardSavedData
    servicesub_report.Database.SetDataSource rs, 3, 1
    servicesub_report.AutoSetUnboundFieldSource crBMTName
    If rs.RecordCount > 0 Then
    With servicesub_report
    .Text1.SetText "Service Charges"
    .Field1.SetUnboundFieldSource ("{ADO.Command2-desc}")
    .Field2.SetUnboundFieldSource ("{ADO.Command2-service_charge}")
    .Field3.SetUnboundFieldSource ("{ADO.Command2-total_scharge}")
    End With
    invoice_report.Field12.SetUnboundFieldSource ("{ADO.item_charge}")
    Else
    End If
    invoice_report.Text3.SetText "Total Bill Value ="
    invoice_report.Field13.SetUnboundFieldSource ("{ADO.bill_value}")
    CRViewer1.ReportSource = invoice_report
    CRViewer1.ViewReport
    End Sub

    Hi lalantha,
    It looks like you are using the RDC as your report engine. The RDC has been deprecated since version 9 meaning there has been no new funcitonalty added to it. There is no option in the RDC to set location to a Command object, it was added to RAS in Cr Xi R2 ( 11.5 ).
    Only work around is to make a connection to the Database directly or using a disconnect record set, there may be other ways but it will require you to rebuild your report. We don't have the ability to map a report that used a COmmand object to another data source.
    Thank you
    Don

  • How to connect oracle client (xp) to database server

    how to connect oracle client to database server
    i have following information
    --server ip
    --port no
    --database name.                                                                                                                                                                                                                                               

    In addition to these parameters you need username and password.
    Then you can connect with
    sqlplus -L username@//server_ip:port_no/database_name
    Yours,
    Laurenz Albe

Maybe you are looking for

  • Hard drive crash? Folder with question mark

    Hi everyone! I had problems with my macbook pro (early 2013). Last week, it slowed down suddenly and the laptop heats up during sleep. Then the hard drive recently crashed, at least I thought it crashed after it showed the folder with question mark d

  • Copy a text layer to another image in the same location

    I am trying to find a way to copy a text layer in one image to another image of the same size so that the text layer is in the exact same location. Basically I have two images for a rollover button for a website. What is the easiest way to copy a tex

  • My itouch only stays at 10% battery, why wont it charge anymore?

    I plugged my itouch in and left it for hours only to come back and find it has only charged to 10% of its battery. I tried plugging it into the ihome, my laptop, and my dads computer and its not charging. Will I have to buy a new battery?

  • Where is the toolbar

    No toolbar. Conflict with earlier version?

  • Disable Rpt file format from export options

    Hi all, I would like to know if there is a way to remove/hide/disbale  export to Crystal Report (Rpt) file format  from the list when u run a report in the  Crystal Reports.com ? Thankyou