2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩14頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、<p><b>  中文:</b></p><p>  開發(fā)基于SQL Server 的C/S數據庫應用系統(tǒng)</p><p>  SQL Server 作為面向中小型企業(yè)的網絡數據庫服務系統(tǒng),提供了 與眾多高級數據庫管理器相同的運行性能,向傳統(tǒng)的數據庫廠商發(fā)起了強有力的挑戰(zhàn)。在程 序設計方面:SQL Server 采用了關鍵而新穎的對稱式結構,從而簡化了程

2、序設計,并且 Microsoft在它的Visual Basic可視化編程語言中為程序員提供了良好的控件;在數據庫管 理方面:SQL Server 以一種易于管理的方式處理多服務器事務管理,提供了一種把SQL Server系統(tǒng)擴展而超出單個計算機能力的方法。 SQL Server 主要具有以下幾個功能:</p><p>  全面的數據完整性保護,無論是復雜的事務支持和高級安全性,還是面向用戶的數據庫隱式 部分

3、,以及數據完整性保護都適用;</p><p>  與Windows NT集成,允許在SMP(對稱多處理)系統(tǒng)中進行徹底的多線程和對稱多處理,并且可集成到分布式管理環(huán)境中;</p><p>  在低造價平臺上也具有突出性能;</p><p>  為系統(tǒng)管理員提供一流的管理工具;</p><p>  對多處理器“分布式”事務的內在支持。

4、</p><p>  以下介紹一種怎樣利用Microsoft SQL Server 在Windows NT Server上構筑開發(fā)環(huán)境, 完成一般的客戶/服務器應用系統(tǒng)。</p><p>  1. 在SQL SERVER 上創(chuàng)建一個數據設備(在創(chuàng)建數據庫之前必須為該 數據庫創(chuàng)建一個存儲設備)</p><p>  (1) 從 Microsoft SQL Ser

5、ver Utilties 程序組內打開 SQL EM。</p><p>  (2) 在Server Manager 窗口里,選擇創(chuàng)建數據庫的服務器。如hfnm.。</p><p>  (3) 選擇Manage菜單項,然后選擇Database Device選項。出現Manage Database Device窗口。</p><p>  (4) 選擇New De

6、vice 按鈕(第一個)。出現New Database Device窗口。</p><p>  (5) Name:為所要創(chuàng)建的設備名;Location:可以選擇創(chuàng)建設備的地點(如:c:\databas e);Size(MB):用于設定此設備的大?。ㄒ话銥閿祿斓?.25倍)。</p><p>  (6) 單擊 Create Now按鈕,創(chuàng)建此設備。</p><p&g

7、t;  注意:請在創(chuàng)建數據庫之前必須先創(chuàng)建兩個存儲設備,一個是數據庫的物理設備,另一個是數據庫 的邏輯設備。</p><p>  2. 在SQL SERVER 上創(chuàng)建一個數據庫</p><p>  (1) 從 Microsoft SQL Server Utilties 程序組內打開 SQL EM。</p><p>  (2) 在Server Manager

8、窗口里,選擇創(chuàng)建數據庫的服務器。如hfnm.。</p><p>  (3) 選擇Manage菜單項,然后選擇Database 選項。出現Manage Database窗口。</p><p>  (4) 選擇New Database 按鈕(第一個)。出現New Database窗口。</p><p>  (5) Name項為數據庫名,Data Device 為數

9、據庫物理設備名稱,Size是該物理設備 為數據庫分配的存儲空間(MB);Logic Device為數據庫邏輯設備名稱,Size是該邏輯設備 為數據庫分配的存儲空間(MB)。請不要復選Default Device選項。</p><p>  (6) 按Create Now按鈕,正式創(chuàng)建數據庫。</p><p>  3. 在已有的數據庫上創(chuàng)建數據表</p><p>

10、  (1) 從 Microsoft SQL Server Utilties 程序組內打開 SQL EM。</p><p>  (2) 在Server Manager 窗口里,選擇服務器。單擊所要創(chuàng)建數據表的數據庫旁的加號。再 單擊數據庫的Group/Users以及Objects組件。</p><p>  (3) 單擊Objects組件旁邊的加號。Server Manager 將展開O

11、bjects 項目,并顯示出可操作 的所有數據庫對象。</p><p>  (4) 選擇Table對象。然后單擊Manager 菜單項,并選擇Tables項目。將出現Manager Table (管理表格)窗口。</p><p>  (5) 現在保持Table組合框為<new>(如果在組合框選擇了其他表,那 么就可以修改它)。</p><p>  C

12、olumn name:字段名Datatype:字段類型</p><p>  Size:字段長度Nulls:是否允許空值</p><p>  Default:默認值</p><p>  (6) 按Save按鈕,保存表格。</p><p>  4. 為數據表創(chuàng)建主關鍵字</p><p>  (1) 啟動Micro

13、soft SQL Server EM ,選擇適當的服務器以及數據庫。單擊數據庫 旁的加號,Server Manager會展開數據庫,并列出所有組件。</p><p>  (2) 單擊Objects項目旁邊的加號,Server Manager會列出可操作的數據庫對象。</p><p>  (3) 單擊Tables文件夾旁邊的加號。用右鍵點擊相應的數據表對象,然后從彈出式菜單里選 擇Ed

14、it命令。隨后屏幕上會出現Manage Tables窗口。</p><p>  (4) 單擊工具欄上的Advanced Features (高級特性)按鈕。隨后會出現與表格有關的更詳細 的信息。</p><p>  (5) 在第一張卡片(Primary Key/Identity)里,可設置主關鍵字。單擊Primary Key窗框 里的Column Names(列名)組合框。會顯示出未設

15、為Nulls的一系列列名。請選擇適當的列, 使其成為主關鍵字。</p><p>  (6) 對于主關鍵字來說,索引類型應定義為(non-clustered)。單擊Add按鈕,在表格里添 加主關鍵字信息。</p><p>  注意:① 主關鍵字的定義對于一個數據表來說是非常重要的,如果沒有主關鍵字,那么這個數據 表將是只讀的。</p><p> ?、?主關鍵字

16、的定義必須在數據表保存之前,因為數據表在保存后,所增加的字段將不允許為非NULL型。</p><p>  5. 為表格創(chuàng)建群集索引</p><p>  (1) 啟動SQL EM,選擇相應的數據庫。</p><p>  (2) 從Manage菜單里選擇Indexes選項。</p><p>  (3) 在Table組合框里,選擇適當的數據

17、表。在Index組合框里,選擇<new>,以便創(chuàng)建一個 新索引。在里面輸入新索引的名字。</p><p>  (4) 在Available Columns In Table (表格內的可用列)列表內,選擇適當的列并按下Add按 鈕。這樣會將列名移至Columns In Index(Key)列表框。還可選擇多列。</p><p>  (5) 在Index Attribute

18、(索引屬性)窗框內,選擇Clustered (群集)復選框。</p><p>  (6) 在Clustered旁邊的兩個單選鈕中,Allow duplicate rows 表示允許重復行。</p><p>  (7) 按Build按鈕,開始創(chuàng)建索引。</p><p>  6. 在SQL Server中為數據庫開用戶</p><p> 

19、 (1) 啟動Microsoft SQL Server EM ,選擇適當的服務器。</p><p>  (2) 選擇login目錄,單擊右鍵,選擇 New Login...,彈出 Manage Logins窗口。</p><p>  (3) 在Login Name中輸入用戶名;在Password中輸入用戶密碼;在數據庫框中,選擇用戶所 要訪問的數據庫。</p><

20、;p>  (4) 單擊“ADD”按鈕。重復一次密碼。</p><p>  7. 在SQL Server中為數據庫用戶設置訪問權限</p><p>  (1) 對于新開的數據庫一定要為訪問它的用戶提供權限,否則這個數據庫是不能被訪問的。 </p><p>  (2) 啟動Microsoft SQL Server EM ,選擇適當的服務器以及數據庫。&l

21、t;/p><p>  (3) 從Object菜單中選擇Object Permission菜單項,再在彈出的對話框中列出了單擊By Us er標簽。</p><p>  (4) 要想授予一個用戶或用戶組特定的權限,只要從User/Group下拉式列表中選定用戶或用 戶組,并單擊相應權限的單元格。</p><p>  (5) 最后單擊“Set”按鈕,保存設置。<

22、/p><p>  另外,SQL Server 也為系統(tǒng)管理員提供了功能強大的備份和恢復數據庫功能。</p><p>  但是,想從網絡客戶機訪問SQL Server只設服務器方還不行。利用Visual Basic 對SQL Ser ver進行編程還需要對客戶端的ODBC進行設置。</p><p>  ODBC(開放數據庫連接)是Microsoft為應用程序開發(fā)人員提

23、供的一種策略。它采用 單一的API來輻射各種不同的數據庫引擎、關系和非關系的DBMS(數據庫管理系統(tǒng))。它使 數據庫開發(fā)人員在開發(fā)數據庫應用系統(tǒng)的時候,可以使用熟悉的ODBC SQL語法,而不用考慮 數據源是什么。</p><p>  8. 以下是客戶端ODBC的設置和調試方法</p><p>  (1) 對于USER DSN的設置</p><p> ?、?在

24、系統(tǒng)的“開始”菜單上選擇“設置”,單擊其中的“控制面板”,彈出控制面板框。 </p><p> ?、?雙擊“32bit ODBC”圖標,彈出“ODBC data source administrator”窗口,選擇“USE R DSN”頁,單擊“Add...”按鈕。</p><p> ?、?在“Create New Data Source”窗口中選擇“SQL SERVER”后,單擊“完

25、成”按鈕,彈 出“ODBC SQL SERVER Setup”窗口。</p><p> ?、?在 Data Source Name 中輸入數據源名,如“pms”;在 Description 中輸入描述信息 (可選);在 Server 中輸入SQL SERVER 服務器名,如“hfserver”;單擊Option 按鈕, 在 Database Name 中輸入SQL SERVER 數據庫名,如“PMS98”,單擊

26、“OK”按鈕。</p><p> ?、?單擊“確定”按鈕。</p><p>  (2) 對于File DSN的調試</p><p> ?、?在系統(tǒng)的“開始”菜單上選擇“設置”,單擊其中的“控制面板”,彈出控制面板框。 </p><p> ?、?雙擊“32bit ODBC”圖標,彈出“ODBC data source administr

27、ator”窗口,選擇“Fil e DSN”頁,單擊“Add...”按鈕。</p><p>  ③ 在“Create New Data Source”窗口中選擇“SQL SERVER”后,單擊“下一步”按鈕, 在彈出的輸入框中輸入數據源名,如“pms”, 單擊“下一步”按鈕,在彈出的信息框中單 擊“完成”按鈕。</p><p> ?、?在彈出的SQL Server Login對話框中:在

28、“Server”欄中輸入SQL Server服務器名;在 “Login ID”欄和“Password”欄中輸入登陸SQL Server時用的用戶名和用戶口令;然后單 擊“Options”按鈕,在Options框中的Database欄中選擇所想登陸的SQL Server數據庫名 。然后單擊“OK”按鈕。 Visual Basic 5.0 是Microsoft推出的一個功能強大的可視化編程工具。它憑借與ODBC良好 的接口和提供給用戶極

29、其完善的網絡數據庫訪問控件,贏得國內外眾多編程愛好者的青睞。 有了Visual Basic我們可以利用它的ODBC接口在幾分鐘內編制一個基于SQL Server的客戶機 /服務器數據庫應用軟件。</p><p>  9. 以下采用編程常用的DAO和RDO兩種方法,為大家介紹 一下怎樣使用Visual Basic 5.0訪問遠程SQL Server數據庫</p><p>  (1)

30、用DAO方法打開遠程數據庫</p><p> ?、?在本地ODBC的FileDSN中設置與SQL SERVER連接的數據源。</p><p>  需要設:Data Source Name:數據源名,Server:SQL服務器名,Login ID:用戶名,Password :用戶口令,Database Name:數據庫名。(這種設置不可在單機狀態(tài)下設)</p><p

31、> ?、?添加data控件,以及一個DBGrid控件</p><p>  ③ 在程序中添加如下代碼:假定數據源名為pms;用戶名為:test;用戶口令為:355;SQL Server數據表為:工資情況。</p><p>  Dim ssql As String</p><p>  Data1.Connect=″ODBC;DSN=pms;uid=test;

32、pwd=355″</p><p>  ssql=″select*from 工資情況″</p><p>  Data1.RecordSource=ssql</p><p>  Data.Refresh</p><p> ?、?運行程序即可。</p><p>  (2) 用RDO方法打開遠程數據庫</p&

33、gt;<p> ?、?在本地ODBC的UserDSN中設置與SQL SERVER連接的數據源。</p><p>  需要設:Data Source Name:數據源名,Descrption:描述,Server:SQL Server服務器名,D atabase Name:數據庫名。(這種設置可在單機狀態(tài)下設)</p><p> ?、?在程序中添加:</p>

34、<p>  Option Explicit</p><p>  Private mrdoenv As rdoEnvironment</p><p>  Private mrdoconn As rdoConnection</p><p>  Private mrdors As rdoResultset</p><p>  Pr

35、ivate Sub Command1Click()</p><p>  Dim ssql As String</p><p>  Set mrdoenv=rdoEnvironments(0)</p><p>  Set mrdoconn=mrdoenv.OpenConnection(″pms″,rdDriverNoPrompt,False,″ODBC;UID=

36、te st;PWD=355″)</p><p>  ssql=″select*from 工資情況″</p><p>  Set mrdors=mrdoconn.OpenResultset(ssql,rdOpenKeyset,rdConcurRowVer,0)</p><p>  出處:專家系統(tǒng)與應用, 37卷, 9月份發(fā)行9到2010年,頁6482-6492&

37、lt;/p><p><b>  英文原文:</b></p><p>  Source:Expert Systems with Applications Volume 37. Issue 9. September 2010. Pages 6482-6492 </p><p>  Development based on SQL SERVER C/S

38、database application system</p><p>  SQL the Server achievement face the small and medium-sized enterprise the network database service system, has provided with the multitudinous high-level data bank admin

39、istration same performance characteristic, initiated the powerful challenge to the traditional database merchant. In programming aspect: SQL Server has used the key but the novel symmetrical expression structure, thus s

40、implified the programming, and Microsoft visible programming language provided good in its Visual in the Basic</p><p>  SQL Server mainly has following several functions:</p><p>  Comprehensive

41、 data integrity protection, regardless of is the complex business support and the high-level security, or hides the type face user's database to be partial, as well as the data integrity protection all is suitable;&l

42、t;/p><p>  With Windows the NT integration, allows in SMP (symmetrical multiprocessing) in the system to carry on the thorough multithreading and the symmetrical multiprocessing, and may integrate in the distri

43、butional management environment;</p><p>  Also has the prominent performance in the low construction cost platform;</p><p>  Provides the first-class management tool for the system manager;</

44、p><p>  To multi-processor "distributional" business intrinsic support.</p><p>  Below introduced how one kind does use Microsoft SQL Server to construct the development environment on W

45、indows NT Server, completes the general customer/server application system.</p><p>  on founds a data equipment in SQL SERVER (in front of foundation database must for this database found a storage device)&

46、lt;/p><p>  procedure group opens SQL EM from Microsoft SQL Server in Utilties.</p><p>  In Server in Manager window, choice foundation database server. If hfnm. .</p><p>  Chooses th

47、e Manage vegetable single item, then chooses Database the Device option. Appears Manage Database the Device window.</p><p>  Chooses New the Device button (first). Appears New Database the Device window.<

48、/p><p>  Name: For equipment which must found; Location: May choose founds the equipment the place (for example: C: \ databas e); Size (MB): Uses in to establish this equipment the size (generally for database

49、1.25 times).</p><p>  Single-clicks Create the Now button, founds this equipment.</p><p>  Attention: Please in front of foundation database must first found two storage devices, is the database

50、 physical equipment, another is the database logical equipment.</p><p>  2. on founds a database in SQL SERVER </p><p>  (1) procedure group to open SQL EM from Microsoft SQL Server in Utiltie

51、s. </p><p>  (2) in Server in Manager window, choice foundation database server. .</p><p>  (3) chooses the Manage vegetable single item, then chooses the Database option. Appears Manage the Dat

52、abase window. </p><p>  (4) chooses New the Database button (first). Appears New the Database window. </p><p>  (5) the Name item for database, Data Device is the database physics equipment name

53、, Size is this physical equipment for the database assignment storage space (MB); Logic Device is the database logic equipment name, Size is this logical equipment for the database assignment storage space (MB). Please d

54、oes not want reelection Default the Device option. </p><p>  (6) according to Create the Now button, officially founds the database.</p><p>  3. in the database which has founded the data sheet

55、</p><p>  (1) procedure group to open SQL EM from Microsoft SQL Server in Utilties. (2) in Server in the Manager window, chooses the server. Single-clicks must found the data sheet nearby the database plus

56、sign. Again single-clicks the database Group/Users as well as the Objects module. </p><p>  (3) single-clicks nearby the Objects module the plus sign. Server Manager will launch the Objects project, and demo

57、nstrated might operate all databases object. </p><p>  (4) chooses the Table object. Then single-clicks the Manager vegetable single item, and chooses the Tables project. Will appear Manager Table (managemen

58、t form) the window. </p><p>  (5) the present maintains the Table combination frame for (if were combining frame to choose other tables, then was allowed to revise it). Column name: Field name Datatype: Fiel

59、d type □Size: Field length Nulls: Whether permits spatial value □Default: Tacitly approves the value </p><p>  (6) according to the Save button, preserves the form. </p><p>  4. founds the host

60、essential character for the data sheet </p><p>  (1) to start Microsoft SQL Server EM, chooses the suitable server as well as the database. Single-clicks nearby the database the plus sign, Server Manager ca

61、n launch the database, juxtaposes all modules. </p><p>  (2) single-clicks nearby the Objects project the plus sign, Server Manager can list the database object which may operate. </p><p>  (3)

62、single-clicks nearby the Tables folder the plus sign. Clicks on the corresponding data sheet object with the right key, then from springs in the type menu to choose the Edit order. Afterwards on the screen can appear Man

63、age the Tables window. </p><p>  (4) single-clicks on the tool fence Advanced Features (high-level characteristic) the button. Afterwards can appear with the form related more detailed information. </p>

64、;<p>  (5) in the first card (Primary Key/Identity) in, may suppose the buyer essential character. Single-clicks in Primary Key window frame Column Names (a row name) to combine the frame. Can demonstrate has not

65、supposed is the Nulls a series of rows name. Please choose the suitable row, causes it to become primarily the essential character. </p><p>  (6) said regarding the host essential character that, the index t

66、ype should define as (non-clustered). Single-clicks the Add button, increases the host essential character information in the form. □attention: </p><p>  host essential character definition regarding a data

67、sheet said is count for much, if has not advocated the essential character, then this data sheet will be read-only. </p><p>  b) host essential character definition must before the data sheet preservation, b

68、ecause the data sheet after the preservation, increases the field will not permit for non- NULL. </p><p>  5. gathers in great number the index for the form foundation </p><p>  (1) to start SQL

69、 EM, chooses the corresponding database. </p><p>  (2) chooses the Indexes option from the Manage menu. </p><p>  (3) in the Table combination frame, chooses the suitable data sheet. In Index co

70、mbination frame, choice, in order to founds a recent index. Inputs the recent index in inside the name. In </p><p>  (4) (in form may use row) in Available Columns In Table to tabulate, chooses the suitable

71、row and presses down the Add button. This can arrange in order the name to move to Columns In Index (Key) tabulates the frame. Also may choose the multi- rows. </p><p>  (5) in Index Attribute (index attribu

72、te) in the window frame, chooses Clustered (to gather in great number) the reelection frame. </p><p>  (6) in Clustered two Shan Xuanniu, Allow duplicate rows expression permission repetition line. </p>

73、;<p>  (7) according to the Build button, starts to found the index.</p><p>  6. opens the user in SQL Server for the database </p><p>  (1) to start Microsoft SQL Server EM, chooses the

74、 suitable server. </p><p>  (2) chooses the login table of contents, single-clicks the right key, chooses New Login.. Springs Manage the Logins window. </p><p>  (3) inputs user in Login Name; I

75、nputs the user password in Password; In the database frame, chooses the database which the user must visit. </p><p>  (4) single-clicks "ADD" the button. Duplicates a time of password.</p>&

76、lt;p>  7. in SQL Server for database user establishment visit jurisdiction</p><p>  (1) certainly must for visit its user in SQL Server for the database user establishment visit jurisdiction regarding the

77、 newly opened database to provide the jurisdiction, otherwise this database is cannot visit. </p><p>  (2) starts Microsoft SQL Server EM, chooses the suitable server as well as the database. </p>&l

78、t;p>  (3) chooses Object from the Object menu the Permission vegetable single item, again in springs in the dialog box listed has single-clicked By Us the label. </p><p>  (4) must want to award a user or

79、 the user group specific jurisdiction, so long as pulls the type from User/Group to tabulate designated the user or the user group, and single-clicks the corresponding jurisdiction the unit standard. </p><p>

80、;  (5) finally single-clicks "Set" the button, preserves the establishment. </p><p>  Moreover, SQL Server has also provided the function formidable backup for the system manager and restores the

81、database function.</p><p>  But, wants to visit SQL Server from the network client only to suppose the server side not to be good. Carries on the programming using Visual Basic to SQL Ser ver also to need to

82、 carry on the establishment to customer end ODBC.</p><p>  ODBC (opening database connection) is Microsoft is one kind of strategy which the application procedure development personnel provides. It uses sole

83、 API to radiate each kind of different database engine, relational and non- relational DBMS (database management system). It causes the database development personnel at development database application system time, may

84、use familiar ODBC the SQL grammar, but does not use the consideration data pool is any.</p><p>  8. Below is the customer carries ODBC the establishment and the debugging method (1) regarding the USER DSN es

85、tablishment</p><p>  1) "The start" in the menu chooses "the establishment" in the system, single-clicks "the control panel", springs the control panel frame. </p><p&

86、gt;  2) double-clicks "32bit ODBC" the chart sign, springs "ODBC data source administrator" the window, the choice "USE R DSN" the page, single-clicks "Add..." Button. </p&g

87、t;<p>  3) in the window chooses "SQL SERVER" after "Create New Data Source", single-clicks "completes" the button, springs "ODBC SQL SERVER Setup" the window. </p>

88、<p>  4) inputs data source name in Data Source Name, like "pms"; Inputs the description information in Description (to be possible to elect); Inputs SQL in Server SERVER server, like "hfserver"

89、; Single-clicks the Option button, inputs SQL in Database Name SERVER database, if "PMS98", single-clicks "OK" the button. </p><p>  5) single-clicks "determines" the button. &l

90、t;/p><p>  (2) regarding File DSN debugging </p><p>  1) "the start" in the menu chooses "the establishment" regarding the File DSN debugging in the system, single-clicks "

91、the control panel", springs the control panel frame. </p><p>  2) double-clicks "32bit ODBC" the chart sign, springs "ODBC data source administrator" the window, the choice "Fil

92、e DSN" the page, single-clicks "Add..." Button. </p><p>  3) in the window chooses "SQL SERVER" after "Create New Data Source", single-clicks "next step" the butt

93、on, in springs in the input frame inputs data source name, if "pms", single-clicks "next step" the button, in springs in the information frame single-clicks "completes" the button.</p>

94、<p>  4) in SQL Server which springs in the Login dialog box: In the fence inputs SQL in "Server" Server server; The user name and the user password the fence and "Password" in the fence inputs

95、 which when "Login ID" lands SQL Server uses; Then single-clicks "Options" "the button, fence chooses SQL in Options in the frame Database which wants to land Server database. Then single-clicks

96、"OK" the button.</p><p>  Isual Basic 5.0 is a function formidable visible programming tool which Microsoft promotes. It relies on with the ODBC good connection and provides to the user the extreme

97、ly perfect network database visit controls, wins domestic and foreign multitudinously programs amateur's favour. Had Visual Basic we to be allowed to use its ODBC connection to establish in several minutes based on t

98、he SQL Server client/server database application software.</p><p>  9. Below uses programming commonly used DAO and the RDO two methods, for everybody introduced how uses Visual Basic 5.0 visits long-distanc

99、e SQL the Server database </p><p>  (1) To open the long-distance database with the DAO method </p><p>  1) In local ODBC FileDSN establishment and SQL SERVER connection data pool. □needs to s

100、uppose: Data Source Name: Data source name, Server:SQL server, Login ID: User, Password: User password, Database Name: Database. (This kind of establishment cannot suppose under single plane condition) </p><p&

101、gt;  2) increases data to control, as well as DBGrid controls </p><p>  3) to increase the following code in the procedure: Supposes data pool named pms; User named: Test; The user password is: 355; SQL the

102、Server data sheet is: Wages situation. </p><p>  4) Operating procedure then. </p><p>  (2) opens the long-distance database with the RDO method</p><p>  1) In local ODBC UserDSN es

103、tablishment and SQL SERVER connection data pool.</p><p>  Needs to suppose: Data Source Name: Data source name, Descrption: Description, Server:SQL Server server, D atabase Name: Database. (This kind of esta

104、blishment may suppose under single plane condition) .</p><p>  2) increases in the procedure…</p><p>  Option Explicit</p><p>  Private mrdoenv As rdoEnvironment</p><p&

105、gt;  Private mrdoconn As rdoConnection</p><p>  Private mrdors As rdoResultset</p><p>  Private Sub Command1Click()</p><p>  Dim ssql As String</p><p>  Set mrdoenv

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論