亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ch23.htm

?? Learning language of Visual C++6
?? HTM
?? 第 1 頁 / 共 4 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
<SCRIPT LANGUAGE="JavaScript">

<!--

function popUp(pPage) {
 var fullURL = document.location;
 var textURL = fullURL.toString();
 var URLlen = textURL.length;
 var lenMinusPage = textURL.lastIndexOf("/");
 lenMinusPage += 1;
 var fullPath = textURL.substring(0,lenMinusPage);
 popUpWin = window.open('','popWin','resizable=yes,scrollbars=no,width=525,height=394');
 figDoc= popUpWin.document;
 zhtm= '<HTML><HEAD><TITLE>' + pPage + '</TITLE>';
 zhtm += '<link rel="stylesheet" href="/includes/stylesheets/ebooks.css"></head>';
 zhtm += '<BODY bgcolor="#FFFFFF">';
 zhtm += '<IMG SRC="' + fullPath + pPage + '">';
 zhtm += '<P><B>' + pPage + '</B>';
 zhtm += '</BODY></HTML>';
 window.popUpWin.document.write(zhtm);
 window.popUpWin.document.close();
 // Johnny Jackson 4/28/98
 }

//-->
                                                                
</SCRIPT>
<link rel="stylesheet" href="/includes/stylesheets/ebooks.css">

	
	<TITLE>Special Edition Using Visual C++ 6 -- Ch 23 -- SQL and the Enterprise Edition</TITLE>
</HEAD>

<BODY TEXT="#000000" BGCOLOR="#FFFFFF">

<CENTER>
<H1><IMG SRC="../button/que.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM" BORDER="0"><BR>
Special Edition Using Visual C++ 6</H1>
</CENTER>
<CENTER>
<P><A HREF="../ch22/ch22.htm"><IMG SRC="../button/previous.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../ch24/ch24.htm"><IMG
SRC="../button/next.gif" WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" ALT="Next chapter"
BORDER="0"></A><A HREF="../index.htm"><IMG SRC="../button/contents.gif" WIDTH="128"
HEIGHT="28" ALIGN="BOTTOM" ALT="Contents" BORDER="0"></A> 
<HR>

</CENTER>
<CENTER>
<H1>- 23 -</H1>
</CENTER>
<CENTER>
<H1>SQL and the Enterprise Edition</H1>
</CENTER>

<UL>
	<LI><A HREF="#Heading1">What's in the Enterprise Edition?</A>
	<LI><A HREF="#Heading2">Understanding SQL</A>
	<LI><A HREF="#Heading3">Working with SQL Databases from C++</A>
	<LI><A HREF="#Heading4">Exploring the Publishing Application</A>
	<UL>
		<LI><A HREF="#Heading5">Setting Up the Data Source</A>
		<LI><A HREF="#Heading6">Building the Application Shell</A>
		<LI><A HREF="#Heading7">Making a Data Connection</A>
		<LI><A HREF="#Heading8">Working with Query Designer</A>
		<LI><A HREF="#Heading9">Stored Procedures</A>
		<LI><A HREF="#Heading10">Writing a New Stored Procedure</A>
		<LI><A HREF="#Heading11">Connecting the Stored Procedure to C++ Code</A>
	</UL>
	<LI><A HREF="#Heading12">Working with Your Database</A>
	<UL>
		<LI><A HREF="#Heading13">Database Designer</A>
		<LI><A HREF="#Heading14">Database Diagrams</A>
	</UL>
	<LI><A HREF="#Heading15">Understanding Microsoft Transaction Server</A>
	<LI><A HREF="#Heading16">Using Visual SourceSafe</A>
</UL>

<P>
<HR SIZE="4">

<CENTER>
<H1></H1>
</CENTER>
<H2><A NAME="Heading1"></A>What's in the Enterprise Edition?</H2>
<P>The Enterprise Edition of Visual C++ was developed for those of you who are integrating
SQL databases and C++ programs, especially if you use stored procedures. It's sold
as a separate edition of the product: You can buy a copy of the Enterprise Edition
instead of the Professional Edition. If you already own a Professional or Subscription
Edition, you can upgrade to the Enterprise Edition for a reduced price.</P>
<P>The Enterprise Edition of Visual C++ includes several extra features within Visual
Studio:</P>

<UL>
	<LI>SQL debugging
	<P>
	<LI>Extended Stored Procedure Wizard
	<P>
	<LI>OLE DB support for AS 400 access
</UL>

<P>Also, a number of separate development tools are included:</P>

<UL>
	<LI>Visual SourceSafe
	<P>
	<LI>SQL Server 6.5 (Developer Edition, SP 3)
	<P>
	<LI>Visual Modeler
	<P>
	<LI>Microsoft Transaction Server
	<P>
	<LI>Internet Information Server 4.0
</UL>

<P>If you do database programming, if you develop large projects and produce object
model diagrams, and if you work in teams and need to prevent revision collision,
you need the features of the Enterprise Edition.</P>
<P>
<H2><A NAME="Heading2"></A>Understanding SQL</H2>
<P>Structured Query Language (SQL) is a way to access databases, interactively or
in a program, that is designed to read as though it were English. Most SQL statements
are <I>queries</I>--requests for information from one or more databases--but it's
also possible to use SQL to add, delete, and change information. As mentioned in
Chapter 22, &quot;Database Access,&quot; SQL is an enormous topic. This section reviews
the most important SQL commands so that even if you haven't used it before, you can
understand these examples and see how powerful these tools can be.</P>
<P>SQL is used to access a relational database, which contains several tables. A
table is made up of rows, and a row is made up of columns. Table 23.1 lists some
names used in database research or in some other kinds of databases for tables, rows,
and columns.</P>
<P>
<H4>Table 23.1&#160;&#160;Database Terminology</H4>
<P>
<TABLE BORDER="1">
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT"><B>SQL</B></TD>
		<TD ALIGN="LEFT"><B>Also Known As</B></TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">Table</TD>
		<TD ALIGN="LEFT">Entity</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">Row</TD>
		<TD ALIGN="LEFT">Record, Tuple</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">Column</TD>
		<TD ALIGN="LEFT">Field, Attribute</TD>
	</TR>
</TABLE>
</P>
<P>Here's a sample SQL statement:</P>
<P>
<PRE>SELECT au_fname, au_lname FROM authors
</PRE>
<P>It produces a list of authors' first and last names from a table called authors.
(This table is included in the sample pubs database that comes with SQL Server, which
you will be using in this chapter.) Here's a far more complicated SQL statement:</P>
<P>
<PRE>SELECT item, SUM(amount) total, AVG(amount) average FROM ledger
   WHERE action = `PAID'
   GROUP BY item
having AVG(amount) &gt; (SELECT avg(amount) FROM ledger
                      WHERE action = `PAID')
</PRE>
<P>A SQL statement is put together from keywords, table names, and column names.
The keywords include the following:</P>

<UL>
	<LI>SELECT returns the specific column of the database. Secondary keywords including
	FROM, WHERE, LIKE, NULL, and ORDER BY restrict the search to certain records within
	each table.
	<P>
	<LI>DELETE removes records. The secondary keyword WHERE specifies which records to
	delete.
	<P>
	<LI>UPDATE changes the value of columns (specified with SET) in records specified
	with WHERE. It can be combined with a SELECT statement.
	<P>
	<LI>INSERT inserts a new record into the database.
	<P>
	<LI>COMMIT saves any changes you have made to the database.
	<P>
	<LI>ROLLBACK undoes all your changes back to the most recent COMMIT.
	<P>
	<LI>EXEC calls a stored procedure.
</UL>

<P>Like C++, SQL supports two kinds of comments:</P>
<P>
<PRE>/* This comment has begin and end symbols */
-- This is a from-here-to-end-of-line comment
</PRE>
<H2><A NAME="Heading3"></A>Working with SQL Databases from C++</H2>
<P>As you saw in Chapter 22, &quot;Database Access,&quot; an ODBC program using CDatabase
and CRecordset can already access a SQL Server database or any database that supports
SQL queries. What's more, with the ExecuteSQL function of CDatabase, you can execute
any line of SQL from within your program. Most of the time, the line of SQL that
you execute is a <I>stored</I> <I>procedure</I>--a collection of SQL statements stored
with the database and designed to be executed on-the-fly by the database server.</P>
<P>There are lots of reasons not to hard-code your SQL into your C++ program. The
three most compelling are</P>

<UL>
	<LI>Reuse
	<P>
	<LI>Skill separation
	<P>
	<LI>Maintainability
</UL>

<P>Many programmers accessing a SQL database from a C++ application are building
on the work of other developers who have been building the database and its stored
procedures for years. Copying those procedures into your code would be foolish indeed.
Calling them from within your code lets you build slick user interfaces, simplify
Internet access, or take advantage of the speed of C++, while retaining all the power
of the stored procedures previously written.</P>
<P>Highly skilled professionals are always in demand, and sometimes the demand exceeds
the supply. Many companies find it hard to recruit solid C++ programmers and equally
as hard to recruit experienced database administrators who can learn the structure
of a database and write in SQL. Imagine how difficult it would be to find a single
individual who can do both--almost as difficult as having two developers work on
the parts of the program that called SQL from C++. A much better approach is to have
the C++ programmer call well-documented SQL stored procedures and the SQL developer
build those stored procedures and keep the database running smoothly.</P>
<P>Separating the C++ and SQL parts of your application has another benefit: Changes
to one might not affect the other. For example, a minor C++ change that doesn't involve
the SQL will compile and link more quickly because the C++ part of the application
is a little smaller without the SQL statements in it. Also, changes to the SQL stored

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区三区| 午夜欧美大尺度福利影院在线看| 欧美精选一区二区| 99精品国产91久久久久久| 免费高清成人在线| 亚洲福利视频导航| 亚洲精品中文在线观看| 国产精品亲子伦对白| 日本一区二区免费在线| 欧美日本视频在线| 欧美中文字幕亚洲一区二区va在线| 成人动漫在线一区| 成人一区二区三区中文字幕| 国产精品99久久久久久久vr| 久久99国产乱子伦精品免费| 欧美a一区二区| 久久99热这里只有精品| 蜜臀av一级做a爰片久久| 日本va欧美va瓶| 婷婷国产在线综合| 日韩高清电影一区| 琪琪久久久久日韩精品| 免费三级欧美电影| 精品一区二区三区视频| 视频一区视频二区在线观看| 亚洲va欧美va国产va天堂影院| 亚洲影视在线播放| 亚洲综合久久久久| 午夜精品久久久久久久99水蜜桃| 亚洲欧美aⅴ...| 亚洲综合丝袜美腿| 亚洲va国产va欧美va观看| 日韩成人一区二区| 精品一区二区三区在线观看国产| 男男成人高潮片免费网站| 免费成人在线视频观看| 久久99国产精品久久99果冻传媒| 狠狠色丁香婷婷综合| 国产一区二区三区久久久| 国产成人综合在线播放| av爱爱亚洲一区| 色成人在线视频| 欧美日韩国产一级| 精品视频123区在线观看| 欧美欧美欧美欧美首页| 日韩精品最新网址| 国产三级精品在线| 亚洲欧洲在线观看av| 亚洲制服丝袜av| 精品一区二区在线视频| 成人精品免费网站| 欧美私模裸体表演在线观看| 欧美一区二区三区小说| 久久久久综合网| 亚洲欧洲精品一区二区三区| 亚洲成av人片一区二区三区| 麻豆精品一区二区综合av| 国产精品一区二区男女羞羞无遮挡| 国产激情视频一区二区在线观看 | 亚洲免费色视频| 香蕉成人伊视频在线观看| 国产精品99久久久久久宅男| 91在线丨porny丨国产| 欧美日韩不卡在线| 国产三级精品在线| 午夜精品一区二区三区免费视频 | 日韩av电影免费观看高清完整版| 国产在线精品一区在线观看麻豆| 风间由美性色一区二区三区| 91成人国产精品| 久久久久久毛片| 亚洲二区视频在线| 国产精品夜夜嗨| 欧美日韩国产小视频| 亚洲国产精品99久久久久久久久| 亚洲18色成人| 99久久精品情趣| 日韩视频一区二区三区在线播放| 久久夜色精品一区| 午夜精品一区二区三区免费视频 | 51精品久久久久久久蜜臀| 久久久久国产精品麻豆ai换脸| 一区二区三区四区在线播放| 国产真实精品久久二三区| 欧美日韩亚洲综合| 欧美mv日韩mv国产| 夜夜嗨av一区二区三区| 成人毛片视频在线观看| 精品久久一区二区| 亚洲图片欧美一区| 99国产欧美另类久久久精品| 26uuu久久天堂性欧美| 亚洲成人资源在线| 97久久精品人人做人人爽| 国产精品亲子乱子伦xxxx裸| 粉嫩嫩av羞羞动漫久久久| 国产欧美视频在线观看| 国产精品一品二品| 国产日本欧美一区二区| 国产成人免费在线视频| 久久精品视频在线免费观看| 国产精品18久久久久久久久久久久| 精品久久久久一区二区国产| 美腿丝袜在线亚洲一区| 日韩午夜电影在线观看| 麻豆视频一区二区| 久久久精品综合| 国产成人啪午夜精品网站男同| 国产日韩欧美高清在线| 成人一区二区三区中文字幕| 一色桃子久久精品亚洲| 在线日韩国产精品| 亚洲成在线观看| 日韩欧美成人午夜| 国模大尺度一区二区三区| 久久久久久久免费视频了| 成人午夜视频福利| 国产精品伦理一区二区| 99re视频精品| 五月天网站亚洲| 日韩免费高清视频| 国产成人av网站| 亚洲精品高清在线| 欧美日韩一区二区三区在线看| 日本亚洲最大的色成网站www| 日韩亚洲欧美高清| 国产成人自拍网| 亚洲精品乱码久久久久久日本蜜臀| 在线免费亚洲电影| 日韩成人伦理电影在线观看| 欧美精品一区二区三区四区 | 成人综合婷婷国产精品久久蜜臀| 亚洲欧美日韩精品久久久久| 欧美日韩国产小视频在线观看| 久久国产精品无码网站| 国产欧美va欧美不卡在线| 色菇凉天天综合网| 九九视频精品免费| 中文字幕亚洲综合久久菠萝蜜| 欧美精品乱码久久久久久按摩| 国产自产视频一区二区三区| 亚洲天堂成人网| 91麻豆精品久久久久蜜臀| 国产成人av电影在线播放| 亚洲动漫第一页| 中文字幕乱码久久午夜不卡| 欧美无砖砖区免费| 国产一区福利在线| 亚洲国产精品一区二区久久 | 亚洲第一久久影院| 国产人妖乱国产精品人妖| 欧美性videosxxxxx| 国产精品一区二区视频| 亚洲超丰满肉感bbw| 中文字幕欧美区| 日韩午夜av一区| 91行情网站电视在线观看高清版| 久久er99热精品一区二区| 综合欧美亚洲日本| 精品成人佐山爱一区二区| 在线视频你懂得一区| 国产二区国产一区在线观看| 亚洲bt欧美bt精品777| 亚洲欧洲无码一区二区三区| 日韩视频永久免费| 欧美性大战久久久| 成人永久看片免费视频天堂| 麻豆91免费观看| 性欧美疯狂xxxxbbbb| 亚洲三级免费观看| 国产色综合久久| 日韩欧美一区二区在线视频| 色综合视频在线观看| 国产成人亚洲综合a∨猫咪| 青青草97国产精品免费观看| 亚洲在线一区二区三区| 国产精品蜜臀在线观看| 日韩欧美一区二区视频| 欧美三级视频在线观看| 97se狠狠狠综合亚洲狠狠| 国产一区二区三区免费看| 美腿丝袜亚洲综合| 午夜精品一区二区三区三上悠亚| 亚洲欧美二区三区| 日韩毛片精品高清免费| 国产欧美一二三区| 久久精品亚洲麻豆av一区二区| 日韩三级电影网址| 在线播放中文字幕一区| 91麻豆免费在线观看| 成a人片亚洲日本久久| 国产激情精品久久久第一区二区| 麻豆91小视频| 免费成人在线观看视频| 五月婷婷综合网| 日韩电影一区二区三区四区| 亚洲一区二区三区中文字幕| 一二三四社区欧美黄| 亚洲精品视频在线| 伊人色综合久久天天人手人婷|