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

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

?? ch23.htm

?? Learning language of Visual C++6
?? HTM
?? 第 1 頁(yè) / 共 4 頁(yè)
字號(hào):
<!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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性做爰猛烈叫床潮| 久久机这里只有精品| 成人一级片网址| 久久中文娱乐网| 久久99久久99小草精品免视看| 777精品伊人久久久久大香线蕉| 亚洲va欧美va天堂v国产综合| 欧美人体做爰大胆视频| 日韩在线卡一卡二| 精品久久免费看| 国产成a人无v码亚洲福利| 中文字幕乱码亚洲精品一区| yourporn久久国产精品| 一区二区三区四区中文字幕| 欧美色综合影院| 老鸭窝一区二区久久精品| 久久久不卡影院| 色婷婷综合在线| 午夜欧美视频在线观看| 日韩美一区二区三区| 国产成人免费视频网站| 亚洲免费视频中文字幕| 欧美美女激情18p| 国产自产2019最新不卡| 亚洲柠檬福利资源导航| 欧美日韩在线免费视频| 极品尤物av久久免费看| 国产精品国产a| 91麻豆精品国产无毒不卡在线观看| 青青青伊人色综合久久| 国产精品免费视频观看| 精品视频在线免费观看| 国产一区二区网址| 一区二区三区丝袜| 久久亚洲免费视频| 在线观看www91| 国产一区二区毛片| 一区二区三区免费| 久久亚洲捆绑美女| 欧美色图第一页| 国产精品18久久久久久久久久久久 | 久久精品夜夜夜夜久久| 91香蕉视频黄| 麻豆精品新av中文字幕| 亚洲日本丝袜连裤袜办公室| 91精品国产综合久久久久久久久久| 国产曰批免费观看久久久| 亚洲午夜精品一区二区三区他趣| 欧美成人国产一区二区| 欧洲国产伦久久久久久久| 国产精品77777竹菊影视小说| 亚洲福利视频三区| 欧美激情综合网| 欧美成人乱码一区二区三区| 欧美在线一区二区| 国产91丝袜在线18| 免费看日韩a级影片| 悠悠色在线精品| 国产欧美一区二区在线| 91精品国产综合久久国产大片| 91一区二区在线观看| 国产成人综合亚洲网站| 日本不卡高清视频| 亚洲一区中文在线| 国产精品成人午夜| 久久久久久久精| 日韩欧美国产三级| 欧美日韩亚洲综合在线 | 99国产精品久| 国产丶欧美丶日本不卡视频| 日韩成人av影视| 亚洲一区二区精品久久av| 国产精品国产三级国产aⅴ入口| 精品福利av导航| 5月丁香婷婷综合| 欧美亚洲一区二区三区四区| av在线播放不卡| 成人动漫视频在线| 国产剧情av麻豆香蕉精品| 日本aⅴ免费视频一区二区三区| 一区二区免费在线| 亚洲精品成a人| 亚洲激情综合网| 一级做a爱片久久| 亚洲男同1069视频| 亚洲欧美日韩精品久久久久| 国产精品盗摄一区二区三区| 国产精品久久影院| 国产精品久久久久三级| 国产精品传媒视频| 亚洲色图视频网| 一区二区三区视频在线观看| ●精品国产综合乱码久久久久| 国产精品三级电影| 亚洲欧美日韩国产另类专区| 亚洲免费观看高清完整版在线| 伊人一区二区三区| 亚洲国产美女搞黄色| 天天影视网天天综合色在线播放| 婷婷久久综合九色国产成人| 日韩成人一区二区| 蜜桃传媒麻豆第一区在线观看| 另类调教123区| 国产精品99久久久久久久vr| 国产91在线观看丝袜| 成人av高清在线| 日本韩国欧美在线| 欧美精品三级在线观看| 日韩欧美视频在线| 久久久久国产精品人| 中文字幕亚洲不卡| 亚洲一二三四区| 蜜臀精品一区二区三区在线观看| 久久99精品久久久久久动态图 | 欧美揉bbbbb揉bbbbb| 欧美丰满高潮xxxx喷水动漫| 欧美变态tickle挠乳网站| 久久精品亚洲乱码伦伦中文 | 欧美激情一区不卡| 一区二区三国产精华液| 免费成人结看片| 成人丝袜视频网| 久久久99久久精品欧美| 国产精品国产自产拍高清av王其 | 亚洲欧美另类久久久精品| 亚洲国产成人高清精品| 激情文学综合丁香| 在线精品观看国产| 欧美成人一区二区三区片免费 | 91成人免费网站| 欧美二区乱c少妇| 国产日韩欧美一区二区三区乱码| 曰韩精品一区二区| 六月丁香婷婷久久| 一本到三区不卡视频| 日韩欧美久久一区| |精品福利一区二区三区| 麻豆国产欧美一区二区三区| 大胆欧美人体老妇| 欧美一级视频精品观看| 中文字幕制服丝袜一区二区三区 | 另类综合日韩欧美亚洲| 色八戒一区二区三区| 精品国产电影一区二区| 一级精品视频在线观看宜春院| 国产精品一区二区在线观看网站 | 久久久久久夜精品精品免费| 有坂深雪av一区二区精品| 欧美男女性生活在线直播观看| 精品免费一区二区三区| 亚洲精品乱码久久久久久日本蜜臀| 久久精品国产77777蜜臀| 色综合久久中文综合久久牛| 久久免费午夜影院| 亚洲18女电影在线观看| 91麻豆福利精品推荐| 久久众筹精品私拍模特| 理论电影国产精品| 欧美精品日韩综合在线| 亚洲自拍都市欧美小说| 成人黄色在线视频| 久久影院午夜论| 美国精品在线观看| 欧美群妇大交群中文字幕| 中文字幕综合网| 成人黄色一级视频| 欧美激情一区二区三区蜜桃视频 | 精品国产污污免费网站入口| 亚洲一区二区三区小说| 99国产欧美另类久久久精品| 久久蜜桃av一区二区天堂| 日韩不卡一区二区三区| 精品视频资源站| 亚洲国产日韩一级| 欧美色倩网站大全免费| 尤物在线观看一区| 色综合中文字幕国产 | 国产午夜亚洲精品午夜鲁丝片| 首页国产丝袜综合| 欧美性极品少妇| 亚洲小少妇裸体bbw| 91麻豆免费在线观看| 国产精品久久看| 成人av小说网| 国产精品国产三级国产| 成人激情视频网站| 欧美国产成人精品| 不卡视频在线看| 国产精品久久久久久久久免费樱桃| 国产精品一区免费视频| 久久久久久久久久久电影| 国产999精品久久| 中文字幕一区二| 91啦中文在线观看| 亚洲视频在线观看一区| 色呦呦一区二区三区| 亚洲高清免费观看| 日韩一区二区免费高清| 另类小说图片综合网| 久久久久久97三级|