Calling sp through ODBC
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Calling sp through ODBC Expand / Collapse
Author
Message
Posted 3/7/2006 8:29:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/7/2006 8:27:00 AM
Posts: 1, Visits: 1
Hi All,

I am facing a problem while call an stored procedure from odbc driver.

I m working with asp.net and my database is teradata. The page gets hanged while i call stored procedure.

If anyone have some code to call SP with in and out parameter please send it. May be it will held me



Hi
Post #3678
Posted 5/23/2006 12:18:06 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/17/2006 4:25:00 AM
Posts: 3, Visits: 1
Don't rubbish my code but it works fine. It was written in FrontPage.







Create User




Create User



<script language="JavaScript"></script><script language="JavaScript"></script>Up <script language="JavaScript"></script>Check User Exists Create User <script language="JavaScript"></script>Create Ops Lite02 <script language="JavaScript"></script>Delete user



If you need to create a Lite02 on OPS DATAMART User Do Not
use this page click ME to go to the right
page


<script Language="JavaScript" Type="text/javascript"></script>













User Name
" size="20" maxlength="7">
First Name
" size="20">
Last Name
" size="20">




<% if 0 then %>
<script Language="JavaScript">
document.write("
The Database Results component on this page is unable to display database content. The page must have a filename ending in '.asp', and the web must be hosted on a server that supports Active Server Pages.
");
</script>
<% end if %>
<%
fp_sQry="CALL PRODROOT.CREATEUSER5('PROD','::UserName::','REP',0,32,0,'::UserName::','$M1$PRODREP','::GivenName::','::FamilyName::',RESULTMSG,HypLink); "
fp_sDefault="UserName=&UserName=&GivenName=&FamilyName="
fp_sNoRecords="No records returned."
fp_sDataConn="Database1"
fp_iMaxRecords=0
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice="ResultMsg"
fp_sMenuValue="ResultMsg"
fp_iDisplayCols=2
fp_fCustomQuery=True
BOTID=0
fp_iRegion=BOTID
%>




bulletResult           : <%=FP_FieldVal(fp_rs,"ResultMsg")%>
bulletClick Here   :
">
<%=FP_FieldVal(fp_rs,"HypLink")%>



Click the
hyperlink Next to Click here.  This will take you to the permissions page
directly with the Username already filled out for your convenience.  If you receive an error please contact Simon Chandler Ext.4102.









Simon Chandler

EDW Database Administrator

Post #4224
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 12:01pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 9 queries. Compression Disabled.