.NET
  Home arrow .NET arrow Page 4 - .NET Stored Proceedures: Reading Excel Fil...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
.NET

.NET Stored Proceedures: Reading Excel Files or Transferring SQL Server Tables into Oracle Tables
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 38
    2006-01-03

    Table of Contents:
  • .NET Stored Proceedures: Reading Excel Files or Transferring SQL Server Tables into Oracle Tables
  • Developing an Oracle based .NET CLR stored procedure using Visual Studio.NET
  • Understanding the .NET CLR Stored Procedure (working with Excel)
  • Deploying and testing Oracle based .NET CLR stored procedure using Visual Studio.NET
  • Understanding the .NET CLR Stored Procedure (working with SQL Server 2000 table)

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    .NET Stored Proceedures: Reading Excel Files or Transferring SQL Server Tables into Oracle Tables - Deploying and testing Oracle based .NET CLR stored procedure using Visual Studio.NET


    (Page 4 of 5 )

    Once you complete all of the steps in the previous section, proceed with the following steps to deploy the .NET CLR based stored procedure using Visual Studio.NET.

    • Press Ctrl+Alt+L to open “Solution Explorer.”
    • Right click on “Sample2” project and select “Deploy.”
    • Skip the welcome screen by clicking on “next.”
    • Select the “data connection” you already created (you can even create a new connection by clicking on the “New Connection” button) and click “next.”
    • In the next screen select the “Copy assembly and generate stored procedures” option and click “next.”
    • Accept the defaults in the next screen and click “next.”
    • Accept the defaults in the next screen and click “next.”
    • Select all checkboxes in the “Available methods,” select “External” for security and click “finish.”

    You need to select “External” as part of security, as we are trying to access “something outside” of the Oracle database.  Thus it is considered to not be "safe."  This is a bit different from what we saw in my first article.

    I already introduced a way to test the stored procedure from within the Visual Studio.NET environment in my previous articles. To test the above stored procedure, I just proceed with iSQLPlus.

    Open any browser and go to “http://server:port/isqlplus”. Provide “Username,” “password” and “connect identifier” according to your configuration and click “login.”

    Once it opens workspace, just type the following code and press “execute."

    Begin
    readXL;
    End;

    That’s it.  Actually, the above three lines are nothing but some simple PL/SQL statements, generally used to call (or execute) any stored procedure stored in the Oracle database.

    More .NET Articles
    More By Jagadish Chaterjee


       · Now I contributed .NET stored procedure to read and transfer Excel files and SQL...
       · i've used your third page information to insert records from excel into oracle db,...
       · Even though, I could not get a proper solution for your problem, I can provide you...
       · Sorry for troubling...I think i found the rootcause - my memory control...
       · Hai,I am very happy that you could find the root of your problem. In fact, your...
       · Hi,I have used your code example to export data from an Excel spreadsheet and...
     

    .NET ARTICLES

    - The Transformed XML Explorer in MFC
    - List Control and Property Grid with the MFC ...
    - Font, Shell and Masked Edit Controls for MFC
    - Color, Link and Image Editor Controls for M...
    - New Controls for MFC
    - The Windows Ribbon Framework
    - Markup Language for the Ribbon Framework
    - Visually Upgrade Your MFC Project
    - New Features for the Statusbar in MFC
    - Working with the Statusbar in MFC
    - Iron Speed Design v60 Review
    - Binary and XML Serialization
    - Using CrystalReportViewer to Display Crystal...
    - Creating Summary .Net Crystal Reports
    - More on Commands, Input and the WPF





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    Stay green...Green IT