calling_stored_procedure.shtml

来自「mfc资源大全包含MFC编程各个方面的源码」· SHTML 代码 · 共 35 行

SHTML
35
字号
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="Author" CONTENT="Zafir Anjum">
   <TITLE>Database - Calling Stored Procedures</TITLE>
</HEAD>
<body background="../fancyhome/back.gif" bgcolor="#FFFFFF" link="#B50029" vlink="#8E2323" alink="#FF0000" bgproperties="fixed">
<table WIDTH="100%">
<tr WIDTH="100%">
<td align=center><!--#exec cgi="/cgi/ads.cgi"--><td>
</tr>
</table>


<CENTER>
<H3>
<FONT COLOR="#AOAO99">Calling Stored Procedures</FONT></H3></CENTER>

<CENTER>
<H3><HR></H3></CENTER>

This article was contributed by <A HREF="mailto:CoderMan@netrox.net">Craig Lucas</A>.

<P>This article goes out to all MFC programmers who wish to improve their
applications performance
and those who have tried calling stored procedures and failed. 

<P>Your first question may be, Why use stored procedures when I can just say,

<PRE><TT><FONT COLOR="#990000">
rs.Open( CRecordset::snapshot, "Select * from Clients where
account_number = '1234567'");.
</FONT></TT></PRE>

<P>Well theres 2 answers that I can think of.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?