How can I connect to the database using ODBC within excel.

Hi,
How can I connect to the database using ODBC within excel and just refresh the data when needed.
Thanks,
Priyanka
Edited by: user554934 on Jun 9, 2009 2:53 AM

This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
Thank you,
Tony Miller
Webster, TX

Similar Messages

  • How can I connect to the database using the Oracle Remote Diagnostic Agent?

    Now I try to study RDA on Windows XP platform,when I run 'rda.cmd',there is a question 'Enter password for 'SYSTEM@'',what is the answer?
    Because I didn't know how to connect to database,there are many error messages - RDA-00510: SQL execution disabled,What can I do?

    Metalink Note:314422.1 to start
    It is asking you to tell how to connect to 'the database that you are investigating' over a network. The answer .... the password for the userid called 'system' in the database specified after the @
    I am confused ... you do not know how to connect to your database?

  • How can I connect to a database using Java Web Start?

    When I run the application without Java Web Start, the program can get the driver and connect to the database. However, when I try to use this same application with Java Web Start, the program can not load the driver. Why is this happening? I am using a mySql database driver.

    I assume you are trying to connect using JDBC, are did you include the jdbc jar in your resources ?

  • How can I connect personal hotspot to use the internet from my phone on my laptop?

    I do not have internet at home and want to be able to connect using the personal hotspot on my phone. How do i do this??

    How much would be a month?
           From: Verizon Wireless Customer Support <[email protected]>
    To: kelly johnson <[email protected]>
    Sent: Wednesday, October 8, 2014 12:02 PM
    Subject:  - How can I connect personal hotspot to use the internet from my phone on my laptop?
    #yiv3595356488 img
    |  
    |
      | 
    A message from the Verizon Wireless Community
      |
    |   |
    How can I connect personal hotspot to use the internet from my phone on my laptop?
    created by Verizon Wireless Customer Support in iPhone 4S - View the full discussion                  Hello kmj65
    Thanks for replying. The plan you have it would be an additional charge to add the hotspot feature. It's not free with the Nationwide plan. You would need to add the feature online at www.verizonwireless.com/myverizon
    JoeL_VZW
    Follow us on Twitter @VZWSupport   Reply to this message by replying to this email -or- go to the message on Verizon Wireless Community Start a new discussion in iPhone 4S by email or at Verizon Wireless Community


    © 2014 Verizon Wireless
    Verizon Wireless
    One Verizon Way
    Mail Code: 180WVB
    Basking Ridge, NJ 07920
    Not interested in these emails anymore, or want to change how often they come? Update your email preferences by visiting https://community.verizonwireless.com/user-preferences!input.jspa.
      |
    We respect your privacy. Please review our privacy policy for more information
    about click activity with Verizon Wireless and links included in this email.
      |

    |

  • How can I connect to a database from ipaq with cldc??

    how can I connect to a database from ipaq with cldc??

    Hi Again
    There is a library by Mimer which allows you do connect to a Mimer SQL Server, don't know must about it, but here is a link.
    http://developer.mimer.com/
    If that doesn't suit you, I suspect that you will have to use some sort of proxy solution. Either by creating a servlet to accept the sql string you want to send, or by creating your own custom proxy server running J2EE. The servlet or the proxy server must be able to receive an SQL String, do the query to the actual database and return the results in some sort of format to the mobile device. Maybe just a space delimited string.
    Hope this helps
    -Daur

  • How can I connect with the AspNetUsers table in MVC 5?

    I have a model, in which I have used several foreign keys from other tables. The point is that I also need to get the Id of the user, from the AspNetUsers table, though, I don't know how. I have done something like this, but it doesn't seem to be working:
    public class Message
        public int MessageID { get; set; }
        [Required(ErrorMessage="Please type a message to submit")]
        [DataType(DataType.MultilineText)]
        [Display(Name="Message")]
        public string MessageText { get; set; }
        public DateTime WrittenOn { get; set; }
        [Required(ErrorMessage="Please select a ticket")]
        [ForeignKey("Ticket")]
        [Display(Name="Ticket")]
        public int TicketID { get; set; }
        public virtual Ticket Ticket { get; set; }
        [Required(ErrorMessage = "Please select a business")]
        [ForeignKey("Business")]
        [Display(Name = "Business")]
        public int BusinessID { get; set; }
        public virtual Business Business { get; set; }
        [Required(ErrorMessage = "Please select a user")]
        [ForeignKey("aspnetusers")]
        [Display(Name = "User")]
        public int Id { get; set; }
        public virtual ApplicationUser ApplicationUser { get; set; }
    When I try to create a controller using the Entity Framework with my model, I get an error message saying:
        The ForeignKeyAttribute on property 'Id' on type ... is not valid. The navigation property 'aspnetusers' was not found on the dependent type ... The Name value should be a valid navigation property name.
    If someone could help me solve the problem, I would be glad.

    Hi Toni,
    I see that this particular query is been answered in the following thread.
    http://stackoverflow.com/questions/25372436/how-can-i-connect-with-the-aspnetusers-table-in-mvc-5
    You can also refer the following links, hope this helps.
    http://stackoverflow.com/questions/20071282/aspnet-identity-and-mvc5
    http://blogs.msdn.com/b/webdev/archive/2013/10/16/customizing-profile-information-in-asp-net-identity-in-vs-2013-templates.aspx
    Regards,
    Bharath

  • Can't connect to the database after 1-2 day, Named Pipes Provider, error: 40,Microsoft SQL Server, Error: 121

    HI
    I have a problem. I can't connect to the database. It said : 
    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
    error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 121)
    When I restart the server, I can connect normally. But after 1-2 days, it can't be connected. 
    How can I fix this?

    Hi Lee,
    Please refer to the following article to configure SQL Server 2005 to allow remote connections:
    http://support.microsoft.com/kb/914277/en-us
    Regards,
    Elvis Long
    TechNet Community Support

  • How can I connect 1-wire sensor using DAQ?

    Hi,
    How can I connect 1-wire sensor using DIO in DAQ? I didn't find anything about it on this site.
    Thanks.

    Hello Depablo,
    When making any voltage measurement you need to provide two wires and signal and a reference voltage.  If you have a digital sensor or device with a number of outputs there should also be a reference or ground voltage output so that you're measurement device can read the correct value.  If you don't connect the ground/reference voltage to the DAQ device then you'll be measuring a floating voltage and it won't be accurate.  Voltage is a relative measurement--your sensor may be outputting 5 volts relative to its internal ground, but that ground may be 10 volts above your DAQ cards ground.  If you measure the 5 volt line with your DAQ card you'll read 15 volts and not 5 volts unless you also connect the sensors ground to the DAQ card.  If you're unsure which wire to use as a reference you can either contact your sensor manufacturer, or if you like you can post back with a link to your sensor's data sheet and I can see if I can identify the correct wire.
    I hope this helps, and have a great day!
    Brooks

  • How can I see all  the idocs used in the system

    I am very new in this area. How can I see all  the idocs used in the system. Those which are posted and those which are not.

    Check thes sap help links:
    http://help.sap.com/saphelp_nw70/helpdata/en/90/c4b523c4c411d2a5ee0060087832f8/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/content.htm
    - Regards, Dibya

  • I just downloaded the latest OS upgrade and since I can not connect to the internet using my cellular data plan.

    I just downloaded the latest iOS.7 upgrade on my ipad2, and since I can not connect to the internet using my cellular data plan.  I have checked my data plan and it's both current and over 2GB remaining.  However the indicator shows no service, thus would be the best steps to recover.  Thanks much for any support that can be provided.

    Hello Kmart2@3
    Check out the troubleshooting article below to get cellular to start working again. 
    iPad (Wi-Fi + Cellular Models): Troubleshooting a cellular data connection
    http://support.apple.com/kb/TS4249
    Regards,
    -Norm G.

  • Equium A200 can not connect to the interest using Wifi

    Hi,
    Since having to reinstall Windows Vista Ultimate, I can not connect to the interest using Wifi. It works fine for Ethernet, but when choosing the "Connect to the Internet" screen, its blank and will not find any wifi connects or let me manually connect to one.
    In Device Manager under Network Adaptors, it now only shows the Ethernet Controller and not the Wifi adaptor. I have tried to download the driver from this site and after rebooting nothing has changed. I have made sure the machine has all the latest Windows updates as well. I have also mader sure that the wifi button is switched on at the front of the machine.
    Also one a side note I cant seem to find the exact name of the Laptop in the system section of Control Panel other than Equum A200. On the download driver page there is NOT a A200 listed only A300 and A300D.
    http://uk.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp?service=UK&mode=allMachi nes&action=search&teddProduct=759&selShortMod=667
    Any help would be grateful.
    Spec:
    Windows Vista Ultimate
    Toshiba Equium A200
    32-bit Operating System

    >Also one a side note I cant seem to find the exact name of the Laptop in the system section of Control Panel other than Equum A200. On the download driver page there is NOT a A200 listed only A300 and A300D.
    I guess you didnt look into the Archive the A200 is a little bit older therefore the drivers are placed in Archive!
    If you want to know what driver you need then I recommend checking this faq:
    http://forums.computers.toshiba-europe.com/forums/ann.jspa?annID=78
    All Wlan drivers can be found here:
    http://aps2.toshiba-tro.de/wlan/

  • How can I connect to the portal homepage on a 9i Database

    I successfully installed Oracle 9iAS on a MS Windows NT machine
    and configured the Portal Server on an Oracle 9i Database on
    another machine (Windows 2000).
    But when I try to call the portal homepage (portal30.home), I
    get the following error: "The preference path does not exist:
    Oracle.Portal.Page (WWC-51000)".
    I can successfully call the .../admin_/gateway.htm page and
    connect over there to the database.
    The shared_pool_size parameter is large enough (92274688).
    I installed the portal server manually, without the GUI, because
    the connection to the database during the installation was only
    enabled as SYSDBA or SYSOPER.
    How can I also get connected to portal homepage?
    Thanks,
    Reinaldo

    can i connect my roku box to the 2nd AE's ethernet port?
    Yes
    will it make any difference? (as opposed to the roku box, used for netflix, picking up it's signal wirelessly).
    Probably not, since the AirPort Express is picking up its signal via wireless.
    The same signal just appears at the Ethernet port. If anything, the signal at the Ethernet port will have a bit less bandwidth than the wireless signal since the Express must convert from wireless to Ethernet...and you always lose something in the conversion process.
    Normally, you would use the Ethernet port if a device did not have wireless capability.

  • How can I connect to WinCC database (best by use of OLE DB provider)?

    Post Author: MarkusR
    CA Forum: Data Connectivity and SQL
    Hello,
    if I connect to the WinCC database by using the WinCC OLE DB provider I do not get the tables I expect.
    E.g. I would like to see the AlgViewEnu or other tables/views of AlarmLogging or TagLogging.
    Who can help?

    Hi
    I have not used asp.net with CS4, due to it using an old version of the framework, so unfortunately I cannot really help in solving the problem. But I can remember having a similar problem with DW8, a tutorial for connecting to the database in DW8 is - http://www.webdesign.org/html-and-css/tutorials/asp-net-in-dreamweaver-8.7367.html. I also seem to remember that the connection required the old, (very old) Jet4 access database connector to be installed to work correctly.
    These problems, and the fact that MS keeps updating the framework every year or so, (which are often not backwardly compatible) are why I use Visual Studio for .net C# sites, and no longer actively develop them, but I must admit I still prefer C# to PHP.
    PZ

  • How does it connect to the database

    can anyone pls tell me how the below coding connect to the database, and if i want to change to use other type of connection, which part of the coding should i use? thank
    loginAction.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <html><!-- InstanceBegin template="/Templates/biome.dwt.jsp" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <LINK href="bios.css" type=text/css rel=stylesheet>
    <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
    </head>
    <body leftmargin="0" topmargin="0">
    <%@ include file="useAndImport.jsp" %>
    <%
    String username = (String)session.getAttribute("username");
    session.setMaxInactiveInterval(10*60);
    boolean isLoggedIn=work.isUsable(username)?true:false;
    %>
    <table width="100%" height="22" border="0" cellpadding="0" cellspacing="0" bgcolor="#CC3300" class="statusloginsearch">
    <tr>
              <SCRIPT LANGUAGE="JavaScript">
    <!-- Idea by: Nic Wolfe ([email protected]) -->
    <!-- Web URL: http://fineline.xs.mw -->
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->
    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=500');");
    // End -->
    </script>
    <form action=loginAction.jsp method=POST>
    <td width="77%" valign="baseline" nowrap id="statusbar">   <% if (isLoggedIn)
    out.println("<img src=images/active.gif width=10 height=15 align=middle><font size=1 color=white face=Verdana, Arial, Helvetica, sans-serif><b>Welcome, " + username + "  </b></font>");%> <% if (!isLoggedIn) { %>
    <font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">Username:</font><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
    <input type=text name=username class="form" <%= work.getValueAttribute(username) %> >
    <font color="#FFFFFF"> Password:</font>
    <input type=password name=password class="form">
    <input type="submit" name="action" value="Login" class="formbutton" onfocus="this.blur()" onmouseover="this.className='formbuttonover';" onmouseout="this.className='formbutton';" onmousedown="this.className='formbuttonover';" onmouseup="this.className='formbuttonover';">
    <input type="reset" name="action" value="Reset" class="formbutton" onfocus="this.blur()" onmouseover="this.className='formbuttonover';" onmouseout="this.className='formbutton';" onmousedown="this.className='formbuttonover';" onmouseup="this.className='formbuttonover';">
    <img src="images/question.gif" alt="what's this?" width="15" height="15" border="0" align="middle">
    <% } %>
    </font></td>
    </form>
    <td width="23%" valign="baseline" nowrap id="statusbar"> <div align="right">
    <% if (isLoggedIn)
    out.println("<form action=SignOut.jsp method=POST><input type=submit name=action value=Logout class=formbutton onfocus=this.blur() onmouseover=this.className='formbuttonover'; onmouseout=this.className='formbutton'; onmousedown=this.className='formbuttonover'; onmouseup=this.className='formbuttonover';></form> <a href=tour.jsp><img src=images/newtothissite.gif border=0 align=middle></a>");%>
      </div></td>
    </tr>
    </table>
    <table width="650" border="0" cellspacing="4" cellpadding="1">
    <tr>
    <td><!-- InstanceBeginEditable name="main" -->
    <table width="580" border="0">
    <tr>
    <td><strong><font color="#CCCCCC" size="+2" face="Arial, Helvetica, sans-serif">ERROR</font></strong></td>
    </tr>
    </table>
    <%-- loginAction.jsp --%>
    <%
    String username1 = request.getParameter("username");
    String password=request.getParameter("password");
    boolean isUsername=work.isUsable(username1);
    boolean isPassword=work.isUsable(password);
    String usernameQuoted=work.getSingleQuoted(username1);
    String usernameParam = work.makeUrlParameter("username",username1);
    ResultSet resultset;
    if(isUsername && isPassword) {
    resultset=db.executeQuery
    ("SELECT * FROM users WHERE USERNAME = " + usernameQuoted);
    if (resultset.next() &&
    resultset.getString("password").equals(password))
    out.println("<font color=green>You are logged on.</font>");
    session.setAttribute("username", username1);
    String accessLevel = resultset.getString("access_level");
         session.setAttribute("access", accessLevel);
         if(accessLevel.equals("0"))
         response.sendRedirect("Welcome.jsp");
         else if(accessLevel.equals("3"))
         response.sendRedirect("Admin.jsp");
    %>
    <%
    } else {
    out.print(work.tryAgain(
    "<font size=2 color=red face=Verdana, Arial, Helvetica, sans-serif><b>Your username and/or password are incorrect.</b>",
    "Login.jsp"+usernameParam));
    } else {
    out.print(work.tryAgain(
    "<font size=2 color=red face=Verdana, Arial, Helvetica, sans-serif><b>Your login information is incomplete.",
    "Login.jsp"+usernameParam));
    %>
    <!-- InstanceEndEditable -->
    </td>
    </tr>
    </table>
    </body>
    <!-- InstanceEnd --></html>
    useAndImport.jsp
    <%-- thingsToUseAndImport.jsp --%>
    <jsp:useBean id="db"
    class="kw.search.DbAccess"
    scope="application"/>
    <jsp:useBean id="work"
    class="kw.search.Worker"
    scope="application"/>
    <jsp:useBean id="dataB"
    class="bb.messageBoard.DataB"
    scope="application"/>
    <jsp:useBean id="forum"
    class="bb.messageBoard.Forum"
    scope="application"/>
    <%@ page import="java.text.DateFormat, java.util.Vector, java.io.*" %>
    DbAccess.java
    package kw.search;
    import java.sql.*;
    public class DbAccess implements java.io.Serializable {
    private Connection connection;
    private Statement statement;
    String db = "btc";
    String user = "javauser";
    String password = "javauser";
    String dbUrl = "jdbc:mysql://localhost:3306/" +db;
    //dbUrl = "jdbc:mysql://localhost:3306/"+db;
    public DbAccess ()
    throws ClassNotFoundException, SQLException
    Class.forName("com.mysql.jdbc.Driver");
    //connection = DriverManager.getConnection ("jdbc:mysql://localhost:3306/btc?"+"user=javauser&password=javauser");
    connection = DriverManager.getConnection
    (dbUrl+"?user="+user+"&password="+password);
    connection.setAutoCommit(false);
    statement = connection.createStatement();
    public void executeUpdate(String sqlCommand)
    throws SQLException
    statement.executeUpdate(sqlCommand);
    public ResultSet executeQuery(String sqlCommand)
    throws SQLException
    return statement.executeQuery(sqlCommand);
    public void commit() throws SQLException
    connection.commit();
    public void rollback() throws SQLException
    connection.rollback();
    protected void finalize() throws SQLException
    statement.close();
    connection.close();
    }

    This section of your code makes the connection:
    public DbAccess ()
    throws ClassNotFoundException, SQLException
    Class.forName("com.mysql.jdbc.Driver");
    //connection = DriverManager.getConnection ("jdbc:mysql://localhost:3306/btc?"+"user=javauser&password=javauser");
    connection = DriverManager.getConnection
    (dbUrl+"?user="+user+"&password="+password);
    connection.setAutoCommit(false);
    statement = connection.createStatement();
    public void executeUpdate(String sqlCommand)
    throws SQLException
    statement.executeUpdate(sqlCommand);
    public ResultSet executeQuery(String sqlCommand)
    throws SQLException
    return statement.executeQuery(sqlCommand);
    public void commit() throws SQLException
    connection.commit();
    public void rollback() throws SQLException
    connection.rollback();
    }

  • Can't connect to the database server from localhost

    Hi,
    I'm having a problem I hope you can help with please!
    I recently installed mysql and phpmyadmin... I can access mysql perfectly from the command line, and can access it partially through phpmyadmin although there are some restrictions that I haven't figured out how to change yet (despite editing php.ini, configure.inc.php and others), but on the whole inside phpmyadmin I can see all the databases I've uploaded with the command line and all the users are there and can be edited. Unfortunately whenever I try to connect to a mysql database using a username and password that was created in phpmyadmin (or anywhere!), I get a 'cannot connect to the database server error'. I've checked and rechecked the username, the passwords, the database names and the host names a thousand times but nothing I change is working.
    Is there a special prefix my mac could be adding to the database, usernames or host names?
    Thanks!

    Okay, don't worry!
    I finally figured it out...
    it needed to be 127.0.0.1 rather than localhost!

Maybe you are looking for

  • Is there a Google Sync Alternative for sync'ing Exchange Calendar with iCal?

    Previously, I was using Google Sync (one-way) to sync calender events between my microsoft outlook calendar and google calendar which I then had sync'd with my iphone.  I had to format my computer and now when I try looking for the software (Google S

  • System crash RFC destination

    Hi, When creating projects it fails with the messages:- 1) System crash RFC destination , Call TMW_VERSION_TEST: User SAPSYS has no RFC authorization for function group TMW_TRACKING . 2) System crash RFC destination , Call TMW_VERSION_TEST: Name or p

  • BPM Not Working in PI

    Hi, We are in the process of upgrading our middleware from XI to PI. While testing scanarios using BPM we are runing into issues. We keep on getting the error. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call Adapter   --> - <SAP

  • OOP's

    Dear all, When should one go for object oriented programming...Also i am new in OOPs..how should i start about it? Also can anyone tell me which books to study from ABAP certification...i know there are TAW10 and TAW12...but how to find out which are

  • Select/option with cfquery - how to pass selected value to field downform

    I have a form that has a basic select/option dropdown using a cfquery result.  I would like to use the value that the user selects to pre-populate an editable 'title' field further along on the form.  For example: <form action="index.cfm?fuseaction=s