Re: Insert Proc to Sybase

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



hi,

here the link to an exemple on how to do so (see section 'odbc')
http://msdn2.microsoft.com/en-us/library/yy6y35y8(VS.71).aspx

Hope it helps,
Martin

"Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> a écrit
dans le message de news: elJQBgCOIHA.4584@xxxxxxxxxxxxxxxxxxxxxxx
Mel,

I don't know if Sybase has a managed provider which you can use. Do
you have ODBC or OLEDB drivers for the data source? If so, you would use
the classes in the System.Data.Odbc and System.Data.OleDb namespaces
respectively.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Mel" <Mel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C23EF512-1BD3-4F1B-9A27-995D70D9C972@xxxxxxxxxxxxxxxx
I wrote a stored procedure to insert data on Sybase. I need to find code
on
how to execute the stored procedure from C#.

Do you have any examples?





.



Relevant Pages

  • Getting null when call execute() on a stored proc in sybase
    ... I'm having trouble with a call to a stored procedure that I have ... execute from SQLAdvantage), but when I call execute, it returns ... jConnect5.5 and ASE Sybase 12.x ... select pe.rut_person as rut, pe.nom_nombre as nombre, pe.nom_appate ...
    (comp.lang.java.databases)
  • Re: Insert Proc to Sybase
    ... here the link to an exemple on how to do so ... the classes in the System.Data.Odbc and System.Data.OleDb namespaces ... how to execute the stored procedure from C#. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: how to use bcp command to output stored procedure result
    ... I am a newbie on sybase and unix. ... The stored procedure just create temp table, ... > "The Complete Sybase Replication Server Quick Reference Guide" ...
    (comp.databases.sybase)
  • Re: Asynchronous database calls
    ... While the Oracle and Sybase namespaces might not support the SqlClient asyn ops extensions, ... off the time consuming call to the middle tier and database. ... I would like to invoke a stored procedure and immediately free up the ...
    (microsoft.public.dotnet.framework.adonet)
  • Sybase and "The sql statement does not contain any parameters"
    ... I'm trying to execute a stored procedure on a Sybase database from a DTS ... "Parse Query" I get "Successfully parsed SQL Statement". ... My stored proc call is as follows: ...
    (microsoft.public.sqlserver.dts)