home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0430 - 0439 / ibm0430-0439 / ibm0438.tar / ibm0438 / SQL42110.ZIP / SQL421A.010 / SQL / I386 / README.TXT < prev    next >
Encoding:
Text File  |  1994-07-14  |  62.2 KB  |  1,376 lines

  1. ************************************************************************
  2.               MICROSOFT(R) SQL SERVER(TM) SPECIAL INFORMATION
  3. ************************************************************************
  4. This file contains information pertaining to the installation and use of
  5. Microsoft SQL Server. The information contained 
  6. in this file is intended to supplement the manuals included in your 
  7. SQL Server package.
  8. ************************************************************************
  9.  
  10. ------------------------------------------------------------------------
  11. Using SQL Server 4.21A with Windows NT(TM) Server Version 3.5
  12. ------------------------------------------------------------------------
  13.  
  14. *****What's Changed in Microsoft SQL Server Version 4.21A*****
  15.  
  16. With this release, some SQL Server components have 
  17. been updated for better compatibility with the Windows NT 
  18. Server version 3.5 operating system. 
  19.  
  20. Beginning with this release, Microsoft SQL Server version 
  21. 4.21A is available in two package configurations: Microsoft 
  22. SQL Server and Microsoft SQL Server Workstation System. 
  23. Microsoft SQL Server and SQL Server users are now licensed 
  24. separately from one another. You must acquire separate user 
  25. licenses for each user who wants to access SQL Server; an 
  26. administrative-use license to install and configure SQL 
  27. Server is included. For Microsoft SQL Server Workstation 
  28. System, no separate user license is needed.
  29.  
  30. Also provided with this release are some additional 
  31. diskettes (this additional software is not provided on 
  32. the Microsoft SQL Server CD-ROM): 
  33.  
  34. -  Supplemental Services. For Intel(R)-, MIPS(R)-, and Alpha 
  35.    AXP(TM)-based computers, this disk provides Net-Libraries 
  36.    for DECnet(TM) sockets and for AppleTalk(R) (ADSP). 
  37.    The DECnet sockets Net-Libraries allow VMS(TM) clients 
  38.    using DECnet to access SQL Server, and the AppleTalk 
  39.    Net-Libraries allow Apple(R) Macintosh(R)-based clients 
  40.    to connect to SQL Server via AppleTalk. For more 
  41.    information, see the README.TXT file included on the disk.
  42.  
  43. -  ODBC 2.0. This disk provides ODBC client computer support 
  44.    only for Intel-based computers. It includes the Open Database 
  45.    Connectivity (ODBC) Driver Manager, SQL Server ODBC client 
  46.    drivers for Win32(R) and Win16, and online Help.
  47.  
  48.    To install ODBC drivers on Microsoft Windows(TM) version 
  49.    3.1 clients, use either File Manager or Program Manager 
  50.    to run Setup from the root directory of the ODBC 2.0 disk. 
  51.    This installs the Win16 driver, plus a special 32-bit 
  52.    version of the ODBC Driver Manager that allows Win32S 
  53.    applications to access the 16-bit driver. To install ODBC 
  54.    drivers on Windows NT version 3.1 or 3.5 clients, run Setup 
  55.    from the \32i directory of the ODBC 2.0 disk. If you will 
  56.    be running 16-bit applications in the Windows on Win32 
  57.    (WOW) subsystem of Windows NT, run both versions of Setup.
  58.   
  59.    For more information, see the ODBC online Help.
  60.  
  61. *****Microsoft SQL Server and Microsoft SQL Server Workstation System*****
  62.  
  63. Microsoft SQL Server version 4.21A is available in two package 
  64. configurations:
  65.  
  66. -  Microsoft SQL Server is a relational database management 
  67.    system that is capable (depending on your application 
  68.    and hardware environment) of supporting hundreds of 
  69.    simultaneous users.
  70.  
  71. -  Microsoft SQL Server Workstation System has the same features 
  72.    and functionality as Microsoft SQL Server, except that it is a 
  73.    single-user licensed product that supports a maximum of 
  74.    15 simultaneous database connections.
  75.  
  76. *****Install SQL Server on Windows NT Server Version 3.5*****
  77.  
  78. For Windows NT version 3.5, Microsoft SQL Server should be 
  79. installed on a computer running the Windows NT Server operating 
  80. system. SQL Server is not supported for installation on a computer 
  81. running Windows NT Workstation version 3.5. Windows NT Server 
  82. is optimized for server functions and offers better performance, 
  83. scalability, and capacity than Windows NT Workstation.
  84.  
  85. Microsoft SQL Server is not recommended for installation on a 
  86. Primary Domain Controller or a Backup Domain Controller 
  87. because those computers perform the resource-intensive tasks 
  88. of maintaining and replicating the network accounts database 
  89. and performing network login authentications. 
  90.  
  91. For Windows NT version 3.5, Microsoft SQL Server Workstation 
  92. System can be installed on a computer running either the Windows 
  93. NT Workstation or Windows NT Server operating system.
  94.  
  95. Note that SQL Server and SQL Server Workstation System are 
  96. both compatible with Windows NT version 3.1 and Windows NT 
  97. Advanced Server version 3.1.
  98.  
  99. *****Setting Frame Types for NWLink IPX/SPX*****
  100.  
  101. In order to establish and maintain connections, SQL 
  102. Servers and clients communicating via the NWLink 
  103. IPX/SPX protocol must be configured to use the same 
  104. frame type. The most commonly used frame types for 
  105. Ethernet are 802.3 and 802.2. Windows NT version 
  106. 3.5 offers an auto-detect option that in most cases 
  107. properly configures a server or workstation for the 
  108. appropriate frame type.
  109.  
  110. In some rare situations, especially on networks with 
  111. mixed Novell(R) server versions or with clients 
  112. running various frame types, you might encounter 
  113. difficulty establishing connections between SQL 
  114. Server clients and servers when the Windows NT 
  115. version 3.5-based computers are configured for 
  116. frame type auto-detect. If this occurs, you can 
  117. configure the Windows NT version 3.5-based computers 
  118. for specific frame types.
  119.  
  120. Note: Computers running the Windows NT Server operating 
  121. system can be configured for multiple frame types. 
  122. Computers running the Windows NT Workstation operating 
  123. system can be configured only for a single frame type.
  124.  
  125. First, determine what frame type(s) you will 
  126. use. Check what frame type other network clients are 
  127. using (you may want to set your Windows NT version 
  128. 3.5-based computers to that frame type). For Ethernet, 
  129. you will usually use frame type 802.2 for networks 
  130. with servers running NetWare(R) version 3.12 or 
  131. later, and frame type 802.3 for networks with 
  132. other configurations.
  133.  
  134. To set frame types on each computer running Windows 
  135. NT Server version 3.5:
  136.  
  137. 1. From the Control Panel, choose the Network application. 
  138.    The Network Settings dialog box appears. 
  139. 2. From the Installed Software list, select NWLink 
  140.    IPX/SPX Compatible Transport, and then choose 
  141.    Configure. The NWLink IPX/SPX Protocol Configuration 
  142.    dialog box appears. 
  143. 3. Select the Manual Frame Type Detection option, select 
  144.    one or more frame types from the list, and then 
  145.    choose the Add button.
  146. 4. Choose OK. The Network Settings dialog box returns.
  147. 5. Choose OK. The Control Panel returns. Close the 
  148.    Control Panel.
  149.  
  150. To set a frame type on each computer running Windows 
  151. NT Workstation version 3.5:
  152.  
  153. 1. From the Control Panel, choose the Network application. 
  154.    The Network Settings dialog box appears. 
  155. 2. From the Installed Software list, select NWLink 
  156.    IPX/SPX Compatible Transport, and then choose Configure. 
  157.    The NWLink IPX/SPX Protocol Configuration dialog box 
  158.    appears. 
  159. 3. In the Frame Type box, select the appropriate frame 
  160.    type (you may choose only one), and then choose OK. 
  161.    The Network Settings dialog box returns.
  162. 4. Choose OK. The Control Panel returns. Close the 
  163.    Control Panel.
  164.  
  165. For additional information on frame types, choose the 
  166. Help button from the NWLink IPX/SPX Protocol 
  167. Configuration dialog box.
  168.  
  169. *****SQL Server and DHCP Servers*****
  170.  
  171. Windows NT version 3.5 provides easy administration of large TCP/IP 
  172. networks by offering the Dynamic Host Configuration Protocol (DHCP) 
  173. service for automatic TCP/IP configuration. Windows Internet Name Service 
  174. (WINS) provides dynamic mapping of network names and addresses, enabling 
  175. users to operate in large scale TCP/IP networking environments with little 
  176. administrative support. 
  177.  
  178. When using the DHCP service, computers are automatically assigned a 
  179. "leased" (temporary) IP address by the DHCP server. Leases have an 
  180. expiration date and time, but if the computer is available on the network 
  181. when the lease expires, the leased IP address is automatically renewed. 
  182. However, if a computer is not available on the network when the lease 
  183. expires (for example, if it is turned off), the DHCP server can cancel 
  184. the lease and that address becomes available to any computer needing a 
  185. lease. When the original computer again becomes available on the network 
  186. it is assigned an IP address that may be different from its previous IP 
  187. address.
  188.  
  189. For SQL Server, this means that on rare occasions the IP address of a 
  190. server might change (usually, only if the server was turned off at the 
  191. time the IP address lease expired). If you occasionally encounter problems 
  192. with dropped client-server connections when using the DHCP service on 
  193. Windows NT version 3.5, you can assign reserved IP addresses to the 
  194. computers running SQL Server. (This is necessary only for servers, not 
  195. clients.)
  196.  
  197. Instructions for setting a reserved IP address can be found in Chapter 
  198. 4, "Installing and Configuring DHCP Servers," in "Microsoft Windows 
  199. NT Server TCP/IP," available with Windows NT Server. 
  200.  
  201. Instructions for setting a reserved IP address are also available from 
  202. the DHCP Manager online Help file. You can start DHCP Manager on the 
  203. DHCP server by choosing its icon from the Network Administration Tools 
  204. group in Program Manager. View the online instructions by selecting the 
  205. Help menu, choosing Contents, choosing "Administering DHCP Clients," and 
  206. then choosing "Managing Client Reservations."
  207.  
  208. *****Using Dump Devices on a NetWare Server*****
  209.  
  210. The Client Service for NetWare allows a Windows NT 
  211. Server version 3.5 to access files on a NetWare file 
  212. server. If you want to use a file on a NetWare server 
  213. as a disk dump device for SQL Server, you must:
  214.  
  215. 1. Run SQL Server as a service under a Windows NT user 
  216.    account that matches the user ID and password of a 
  217.    valid NetWare user. You cannot run SQL Server as a 
  218.    service under the LocalSystem account. 
  219.  
  220.    For information on how to set this up, see "Configuring 
  221.    Network Permissions for SQL Server," in Chapter 2 of the 
  222.    Microsoft SQL Server Configuration Guide (page 64).
  223.  
  224. 2. Identify the network share point of the dump device 
  225.    using UNC naming rather than drive letters. For 
  226.    example, the following command would be valid:
  227.  
  228.     sp_addumpdevice 'disk','netware_dump',
  229.     '\\netware1\big_disk\dumpdir\dumpfile.dat', 2
  230.  
  231.    Note: In the above command, you cannot use a drive 
  232.    letter ("n:") in place of the UNC designation for the
  233.    drive and dump share ("\\netware1\big_disk").
  234.  
  235. *****Running SQLMail on Windows NT Server Version 3.5*****
  236.  
  237. With Windows NT Server version 3.5, SQL Server can 
  238. run as a service in a user account and use SQLMail 
  239. functionality. If you run SQL Server in the LocalSystem 
  240. account on Windows NT Server version 3.5, then in the Services 
  241. application in the Windows NT Control Panel, in the Startup 
  242. dialog box, you should select the option Allow Service To 
  243. Interact With Desktop.
  244.  
  245. ------------------------------------------------------------------------
  246. Installing or Upgrading
  247. ------------------------------------------------------------------------
  248. To install Microsoft SQL Server version 4.21A, run the 
  249. Setup program and choose the Install SQL Server And Utilities 
  250. option. To upgrade a previous version of Microsoft SQL Server 
  251. to version 4.21A, run the Setup program and choose the Upgrade 
  252. SQL Server option.
  253.  
  254. The CD-ROM disc contains three separate SETUP directories, 
  255. one for Intel-based computers (the \I386 directory), one for 
  256. MIPS-based computers (the \MIPS directory), and one for Alpha 
  257. AXP-based computers (the \ALPHA directory). SQL Server 
  258. must be installed from the directory containing the software 
  259. compatible with your hardware platform. You cannot use a 
  260. different processor architectureÆs Setup program to install SQL 
  261. Server.
  262.  
  263. For detailed installation instructions, see the Setup program's 
  264. online Help or the Microsoft SQL Server Configuration Guide.
  265. Note that the printed SQL Server documentation is the same 
  266. for versions 4.2, 4.21, and 4.21A.
  267.  
  268. ------------------------------------------------------------------------
  269. Migrating Data Between RISC and Intel Architectures
  270. ------------------------------------------------------------------------
  271. It is not possible to dump a database in one processor architecture and 
  272. load it in another. Even if the operation appears to succeed, serious 
  273. problems will subsequently result. You also should not run the Setup 
  274. program to perform an upgrade from a database environment that existed
  275. on a different computer. For example, you cannot dump a database from 
  276. an Alpha AXP-based computer and load it into an Intel-based computer. Nor 
  277. should you copy your MASTER.DAT from an Intel-based computer to a 
  278. MIPS- or Alpha AXP-based computer and run Setup to upgrade it. (However,
  279. you can use SQL Transfer Manager, provided with Microsoft SQL Server 
  280. version 4.21A, to transfer the data from one architecture to another.)
  281.  
  282. ------------------------------------------------------------------------
  283. Microsoft SQL Server Adds SQLMail Functionality
  284. ------------------------------------------------------------------------
  285. With version 4.21, SQL Server includes extended stored procedures that 
  286. allow SQL Server to send messages through the built-in mail application 
  287. programming interface (MAPI) client interface in Windows NT. These 
  288. messages can consist of short text strings, the output from a query, or 
  289. an attached file. You can send messages from within a trigger or a 
  290. stored procedure. (For example, you can send an alert when changes 
  291. occur in the database.) Mail functionality has also been integrated 
  292. with SQL Monitor and SQL Administrator scheduled backups. You can use 
  293. this capability with SQL Administrator's scheduled backup feature to 
  294. enable SQL Monitor to notify a list of recipients when backups occur 
  295. and if errors occur during a backup. In addition, you can use the 
  296. SQLMail feature to notify you when long-running processes, such as 
  297. data downloads, are complete. 
  298.  
  299. A new DLL, SQLMAPI.DLL, is installed with SQL Server and includes the 
  300. extended stored procedures necessary for mail enabling. You enable the 
  301. SQLMail functionality through the Set Server Options dialog box in the 
  302. Setup program. You can start and stop mail or send a message by using 
  303. the new extended stored procedures (documented below). You can also 
  304. automatically start mail when you start SQL Server by setting 
  305. AutoStart Mail Client in the Set Server Options dialog box. For more 
  306. information about enabling SQLMail, see the online Help included with 
  307. the Setup program. Note that before you enable SQLMail you should ensure 
  308. that the Mail client interface in Windows NT is set up and working and that 
  309. you can send an ordinary mail message to the intended recipients of SQLMail 
  310. messages. For more information about the Mail client 
  311. interface, see your documentation for Microsoft Windows NT.
  312.  
  313. *****SQLMail Extended Stored Procedures*****
  314.  
  315. This section explains the extended stored procedures for SQLMail:
  316.  xp_startmail, xp_stopmail, and xp_sendmail.
  317.  
  318. ----------------
  319. xp_startmail
  320. Starts a SQL Server Microsoft Mail client session.
  321.  
  322. Syntax:
  323. xp_startmail ['@user'] [, '@password']
  324.  
  325. where
  326.  
  327. @user
  328. Is an optional parameter that specifies the mail user name.
  329.  
  330. @password 
  331. Is an optional parameter that specifies the mail password.
  332.  
  333. Remarks:
  334. SQL Server attempts to log in to Microsoft Mail using the name and 
  335. password specified. If no name or password is supplied, SQL Server 
  336. uses the name and password specified in the Mail Login dialog box 
  337. under Set Server Options in Setup. If no name and password are specified
  338. in the Mail Login dialog box, or if they are incorrect, you will 
  339. receive error 17903 "MAPI login failure" in the Windows NT Event Log 
  340. and/or the SQL Server error log. 
  341.  
  342. Even if you don't use the Mail Login dialog box to save your Mail user 
  343. name and password, you must select the Copy SQLMail Configuration 
  344. From Current User Account option in the Mail Login dialog box to set up 
  345. SQLMail for the first time.
  346.  
  347. If Mail is already running on the workstation, SQL Server "piggybacks" 
  348. on that instance of Mail instead of starting one of its own.
  349.  
  350. Example:
  351. xp_startmail 'sqluser', 'sqlpassword'
  352.  
  353. Messages:
  354. Msg 17952 "Failed to start Microsoft Mail session. Check the errorlog 
  355. file in the SQL Server directory for details."
  356. The name and/or password you have typed (either in the Mail Login 
  357. dialog box, or as parameters to xp_startmail) could be incorrect. Check 
  358. that you are using the correct name and/or password and that you have 
  359. typed them correctly. Make sure that you can run a regular Microsoft 
  360. Mail session using that user name and password. Also make sure that 
  361. you have selected the Copy SQLMail Configuration From Current 
  362. User Account option in the  Mail Login dialog box after you have your 
  363. Microsoft Mail client session working.
  364.  
  365. "Microsoft Mail session is already started."
  366. A Microsoft Mail session is already started; SQL Server will not start 
  367. one of its own.
  368.  
  369. Permission:
  370. Execute permission defaults to the system administrator, who can grant 
  371. permission to others.
  372.  
  373. See Also:
  374. xp_sendmail, xp_stopmail
  375.  
  376. ----------------
  377. xp_stopmail
  378. Stops a SQL Server Microsoft Mail client session.
  379.  
  380. Syntax:
  381. xp_stopmail
  382.  
  383. Messages:
  384. Msg 17966 "Microsoft Mail session is not started."
  385. There is no existing SQL Server mail session to stop.
  386.  
  387. Permission:
  388. Execute permission defaults to the system administrator, who can grant 
  389. permission to others.
  390.  
  391. See Also:
  392. xp_sendmail, xp_startmail
  393.  
  394. -----------------
  395. xp_sendmail
  396. Sends a message, and/or a query result set, and/or an attachment to the 
  397. specified recipients.
  398.  
  399. Syntax:
  400. xp_sendmail @recipients, [@message] [, @query] [, @attachments] 
  401. [, @copy_recipients] [, @blind_copy_recipients] [, @subject] [, @type] 
  402. [, @attach_results] [, @no_output] [, @no_header] [, @width]
  403.  
  404. where
  405.  
  406. @recipients
  407. Is a required parameter specifying the names of the people you are 
  408. sending the mail to. If you specify more than one name, separate the
  409. names by semicolons (;).
  410.  
  411. @message
  412. Is an optional parameter that specifies the message to be sent. You 
  413. must specify @message, @query, or @attachments.
  414.  
  415. @query
  416. Is an optional parameter that specifies a valid SQL Server query, the 
  417. result of which will be sent in mail. You must specify @query, @message,
  418. or @attachments.
  419.  
  420. @attachments
  421. Is an optional parameter that specifies a file to attach to the mail. 
  422. You must specify @attachments, @query, or @message.
  423.  
  424. @copy_recipients
  425. Is an optional parameter that identifies other recipients you are 
  426. sending the mail to.
  427.  
  428. @blind_copy_recipients
  429. Is an optional parameter that identifies other recipients you are 
  430. sending a blind copy of the mail to.
  431.  
  432. @subject
  433. Is an optional parameter that specifies the subject of the mail. If you 
  434. do not specify a subject, "SQL Server Message" is used as the subject.
  435.  
  436. @type
  437. Is an optional parameter that sets a custom message type of the mail 
  438. message. Custom message types are of the form
  439.  
  440. IP<MIC>.VendorName.subclass
  441.  
  442. A message type beginning with IPM (interpersonal message) will appear 
  443. in the recipients' Inbox; a message type beginning with IPC will not 
  444. appear in the Inbox and must be read by a custom MAPI application. The 
  445. default is Microsoft Mail's IPM type. See the "Windows NT Resource Guide"
  446. or the "Microsoft Mail Technical Reference" (available separately) for 
  447. more information about using custom message types.
  448.  
  449. @attach_results
  450. Is an optional parameter that specifies that the results set of a query 
  451. should be sent in mail as an attached text file (.TXT) instead of 
  452. appended to the mail. The default association for a .TXT file is Notepad,
  453. but a different association can be specified using File Manager. 
  454. The default for this parameter is False, which means that the results 
  455. set is appended to the message.
  456.  
  457. @no_output
  458. Is an optional parameter that sends the mail but does not return any 
  459. output to the SQL Server client session that sent the mail. The 
  460. default value is False, which means that the SQL 
  461. Server client session receives output.
  462.  
  463. @no_header
  464. Is an optional parameter that sends the query results in mail but does 
  465. not send column header information with the query results. The default 
  466. is False, which means that column header information is sent with the 
  467. query results.
  468.  
  469. @width
  470. Is an optional parameter that sets the line width of the output text 
  471. for an @query message. This parameter is identical to the /w parameter 
  472. in ISQL. For queries that produce long output rows, use @width together 
  473. with @attach_results to send the output without line breaks in the 
  474. middle of output lines. The default width is 80 characters.
  475.  
  476. Remarks:
  477. The SQLMail session must be started prior to executing xp_sendmail. 
  478. Sessions can be started either automatically (using the Auto Start Mail 
  479. Client option in the Set Server Options dialog box of Setup) or with 
  480. xp_startmail. One SQLMail session supports all users on the SQL Server, 
  481. but only one user at a time can send a message. Other users will 
  482. automatically wait their turn until the first user's message is sent.
  483.  
  484. If @query is specified, xp_sendmail logs in to SQL Server as a client
  485. and executes the specified query. SQLMail makes a separate connection 
  486. to SQL Server; it does not share the same connection as the original 
  487. client connection that issued xp_sendmail. Note that the @query can be 
  488. blocked by a lock held by the client connection that issued xp_sendmail.
  489. For example, if you are updating a table within a transaction and you 
  490. create a trigger for that update that attempts to select the updated 
  491. row information as the @query parameter, the SQLMail connection will 
  492. be blocked by the exclusive lock held on that row by the initial client 
  493. connection. 
  494.  
  495. Examples:
  496. A. xp_sendmail 'user1', 'The master database is full.'
  497. This example sends a message to user1 that the master database is full.
  498.  
  499. B. xp_sendmail @recipients = 'user1;user2', @message = 'The master 
  500.     database is full.', @copy_recipients = 'user3;user4', 
  501.     @subject = 'Master Database Status'
  502. This example sends the message to user1 and user2, with copies sent to 
  503. user3 and user4. It also specifies a subject line for the message.
  504.  
  505. C. xp_sendmail 'user1', @query = 'sp_configure'
  506. This example sends the results of the stored procedure sp_configure 
  507. to user1.
  508.  
  509. D. xp_sendmail @recipients = 'user1', @query = 'select * from sysobjects', 
  510.     @subject = 'SQL Server Report', @message = 'The contents of sysobjects:', 
  511.     @attach_results = 'True', @width = 250
  512. This example sends the results of the query 'select * from sysobjects' 
  513. as a text file attachment to user1. It includes a subject line for the 
  514. mail and a message that will appear before the attachment. The @width 
  515. option is used to prevent line breaks in the output lines.
  516.  
  517. E. create table #texttab (c1 text)
  518.     insert #texttab values ('Put your long message here.')
  519.     declare @cmd varchar(56)
  520.     declare @tabname sysname(30)
  521.     select @tabname = name from tempdb.dbo.sysobjects
  522.         where name like '#texttab%' +
  523.         convert (varchar(5), @@spid) + '%'
  524.     select @cmd = 'select c1 from tempdb.dbo.' + @tabname
  525.     exec master.dbo.xp_sendmail
  526.         'user1', @query = @cmd, @no_header= 'True'
  527.     drop table #texttab
  528. This example shows how to send a message longer than 255 characters. 
  529. Because the @message parameter is limited to the length of a VARCHAR 
  530. (as are all stored procedure parameters), this example writes the long 
  531. message into a temporary table consisting of a single text column. The 
  532. contents of this temporary table are then sent in mail using 
  533. the @query parameter. The @query parameter makes a separate connection,
  534. so the name of the temporary table must be retrieved from the 
  535. sysobjects table in tempdb.
  536.  
  537. Messages:
  538. Msg 17914 "An invalid recipient was specified."
  539. One or more of the recipients you specified could not be found.
  540.  
  541. If SQL Server detects an error when executing the @query statement, you 
  542. will receive the full error message at the client, as if you had 
  543. executed the query directly. Possible errors include Msg 229 "SELECT 
  544. permission denied" and Msg 208 "Invalid object name." See the "Microsoft 
  545. SQL Server Transact-SQL Reference" for information on errors pertaining 
  546. to specific query statements.
  547.  
  548. Permission:
  549. Execute permission defaults to the system administrator, who can grant 
  550. permission to others.
  551.  
  552. See Also:
  553. xp_startmail, xp_stopmail
  554.  
  555. ------------------------------------------------------------------------
  556. Microsoft SQL Server Network Support
  557. ------------------------------------------------------------------------
  558.  
  559. *****Banyan(R) VINES(R) Support*****
  560.  
  561. Banyan VINES support for Windows NT-based clients and servers is 
  562. available only for SQL Server on the Intel platform; it is not 
  563. currently available on the MIPS or Alpha AXP platforms.
  564.  
  565. SQL Server supports Banyan VINES Sequenced Packet Protocol (SPP) as the 
  566. IPC method across Banyan VINES IP network protocol. The following 
  567. Banyan VINES SPP Net-Library files are included:
  568.  
  569.     SSMSVINN.DLL    SQL Server for Windows NT
  570.     DBMSVINN.DLL    Windows NT-based client
  571.     DBMSVIN3.DLL    Microsoft Windows(TM)-based client
  572.     DBMSVINE.EXE    MS-DOS(R)-based client
  573.     DBMSVINP.DLL    OS/2(R)-based client
  574.  
  575. The Banyan VINES Net-Libraries are supported for use 
  576. on Windows NT version 3.1 with the Banyan VINES client 
  577. software for Windows NT version 5.56 (0). That version 
  578. of the Banyan VINES NT client software is currently 
  579. only supported on Windows NT version 3.1, and use of 
  580. the Net-Libraries on Windows NT version 3.5 is untested 
  581. and unsupported. When Banyan releases a version of their 
  582. client software for Windows NT version 3.5, we will 
  583. retest for supportability on that version. You may wish 
  584. to contact Banyan regarding the scheduled availability 
  585. of a version of their client software supporting 
  586. Windows NT version 3.5.
  587.  
  588. These VINES SPP Net-Library files support network clients running 
  589. Banyan VINES version 4.11(5), 5.0(5), 5.5(1), and 5.52(5). Clients 
  590. running Microsoft Windows version 3.1 with workstation driver 
  591. version 4.11(5) require patch version 4.11(5) GN 1. Workstation driver 
  592. version 5.0(5) requires patch version 5.0(5) EM 1. Clients running 
  593. OS/2 with workstation driver version 4.11(5) require patch version 
  594. 4.11(5) GF 1. Clients running OS/2 version 2.1 require version 5.52(5). 
  595. These versions and patches are available from your Banyan support 
  596. provider.
  597.  
  598. To configure SQL Server to listen on Banyan VINES, follow the steps under 
  599. "Changing Network Support Options" in Chapter 1 of the "Microsoft SQL 
  600. Server Configuration Guide." Select Banyan VINES from the list. You will 
  601. be prompted for a StreetTalk(TM) PC-based service name, which has the form 
  602. servicename@group@org, where servicename is the StreetTalk PC-based 
  603. service name used by SQL Server, group is the group, and org is the 
  604. organization. Note that the servicename used by SQL Server must first be
  605. created using the MSERVICE program included with your VINES software. 
  606. You must be logged on to the VINES network with administrative privilege 
  607. before starting SQL Server. To configure SQL Monitor to listen on 
  608. Banyan VINES, you must also create a PC-based service name for 
  609. SQL Monitor using MSERVICE. The default SQL Monitor service name for 
  610. Banyan VINES is identical to the SQL Server service name with "_mon" 
  611. appended to the service name. For more information, see 
  612. "SQL Administrator Communication with SQL Monitor" later in these 
  613. release notes.
  614.  
  615. For clients running Windows, Windows NT, or OS/2, you can use the 
  616. SQL Client Configuration Utility to set up Banyan VINES connections.
  617.  
  618. If a client application gives a partial StreetTalk name (a name that 
  619. doesnÆt include the group and organization) as the server name, the 
  620. VINES SPP Net-Library will use standard VINES services to complete 
  621. the rest of the StreetTalk name with your login defaults. If no PC-based 
  622. service or nickname matching the server name is found within the userÆs
  623. own group and organization, the VINES SPP Net-Library looks for a 
  624. special group named MSSQL within your organization. This allows network 
  625. administrators to define a group of SQL Servers that are accessible 
  626. with one-part names from all groups in the same organization.
  627.  
  628. You can override the default name MSSQL by setting a group@org variable 
  629. on each client to a newgroup@org value. Both the group and organization 
  630. are required.
  631.  
  632. For a client running the MS-DOS operating system, this is an 
  633. environment variable that must be set before the DBMSVINE.EXE 
  634. Net-Library TSR is loaded. For example:
  635.  
  636.     SET group@org=SQLServers@xyzcorp
  637.  
  638. For a client running Windows, set group@org by adding a [DBMSVINE] 
  639. section to your WIN.INI file. For example:
  640.  
  641.     [DBMSVINE]
  642.     group@org=SQLServers@xyzcorp
  643.  
  644. For a client running Windows NT, add a DBMSVINE key to the 
  645. Windows NT Registry. Add the \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ 
  646. SQLServer\Client\DBMSVINE key with REG_SZ value group@org set to 
  647. newgroup@org.
  648.  
  649. For a client running OS/2, add DBMSVINE as a new application to your 
  650. OS2.INI file, with group@org as the key, and newgroup@org as the profile 
  651. string. If you need to change a group@org value, be sure to delete the 
  652. entry first by entering an empty profile string, and then enter your 
  653. new value. You must use a program such as the WRITEINI utility to edit 
  654. your OS2.INI file. For example:
  655.  
  656.     writeini -SDBMSVINE -Kgroup@org -PSQLServers@xyzcorp
  657.  
  658. All of these examples change the default collection of SQL Servers to 
  659. SQLServers@xyzcorp. Then, when any client application attempts to 
  660. connect to a server named GIZMO, the VINES SPP Net-Library first looks 
  661. for a PC-based service or nickname in your login group, and then looks 
  662. for one named GIZMO@SQLServers@xyzcorp.
  663.  
  664. The VINES SPP Net-Library files do not support the use of StreetTalk 
  665. names that contain embedded spaces, and they use one VINES IP socket 
  666. per server and one SPP connection per database connection.
  667.  
  668. *****SQL Administrator Communication with SQL Monitor*****
  669.  
  670. SQL Administrator must communicate with SQL Monitor to complete tasks 
  671. such as scheduled backups. SQL Administrator uses configuration entries 
  672. to determine how to connect to SQL Monitor. If you use the default 
  673. Net-Library, SQL Administrator will usually be able to connect to 
  674. SQL Monitor using the defaults, and you will not need to adjust these 
  675. configuration entries. If you are connecting to SQL Server using a 
  676. logical server name (set up using the Advanced button of the SQL Client 
  677. Configuration Utility) you will need to configure these entries using a 
  678. text editor in Microsoft Windows or the Registry Editor in 
  679. Windows NT.
  680.  
  681. For clients running Windows, the SQL Server Setup program puts the 
  682. following default lines in the [SQLMONITOR] section of WIN.INI: 
  683.  
  684.     dbnmp3=?1:\\?1\pipe\winsql\backup
  685.     dbmsspx3=?1:?1_mon
  686.     dbmsvin3=?1@?2:?1_mon?2
  687.     dbmssoc3=?1,?2:?1,1434
  688.  
  689. For clients running Windows NT, the SQL Server Setup program puts the 
  690. following default REG_SZ values in the 
  691. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQLServer\Client\Monitor key 
  692. of the Windows NT Registry:
  693.  
  694.     dbnmpntw    ?1:\\?1\pipe\winsql\backup
  695.     dbmsspxn    ?1:?1_mon
  696.     dbmsvinn    ?1@?2:?1_mon?2
  697.     dbmssocn    ?1,?2:?1,1434
  698.  
  699. These entries describe the default rules for each Net-Library that 
  700. SQL Administrator uses to build a SQL Monitor connection string from 
  701. the SQL Server name. You can override these rules by using a 
  702. configuration entry that matches the SQL Server name. If 
  703. SQL Administrator finds an entry that matches the SQL Server name, it 
  704. will use that entry to attempt to connect to SQL Monitor. If no entries 
  705. match the SQL Server name, SQL Monitor will use the default rules.
  706.  
  707. To override the default rules for a specific SQL Server, directly 
  708. specify a SQL Monitor connection string using the following format:
  709.  
  710.     <servername>=<netlib_name>,<monitor_connection_string>
  711.  
  712.     where
  713.  
  714.     <servername>
  715.     Is the SQL Server name.
  716.  
  717.     <netlib_name>
  718.     Is the name of the Net-Library file (not including the .DLL
  719.     extension) used to communicate with SQL Monitor.
  720.  
  721.     <monitor_connection_string>
  722.     Specifies what value SQL Monitor is listening on.
  723.  
  724. For example, to use the default SQL Monitor named pipe when
  725. connecting to a SQL Server named GIZMO from Microsoft SQL 
  726. Administrator:
  727.  
  728.         gizmo=\\gizmo\pipe\winsql\backup
  729.  
  730. You can modify the default rules if they don't fit your environment. To 
  731. specify a rule for building the SQL Monitor connection string given a 
  732. specified SQL Server name, use the following format:
  733.  
  734.     <netlib_name>=<server_source_template>:<monitor_subst_template>
  735.  
  736.     where
  737.  
  738.     <netlib_name>
  739.     Is the name of the default Net-Library file (not including the .DLL
  740.     extension) used by the client.
  741.  
  742.     <server_source_template>
  743.     Is a string template for the SQL Server name. This template can
  744.     contain up to nine tagged expressions. Each tagged expression uses
  745.     the format:
  746.  
  747.         ?<n>[<string>]
  748.  
  749.         where
  750.  
  751.         <n>
  752.         Is a single digit 1 through 9.
  753.  
  754.         <string>
  755.         Is an optional case-sensitive string of zero or more
  756.         characters to be searched for in the SQL Server name. This
  757.         string terminates at the next '?' in the
  758.         <server_source_template> or at the end of the SQL Server name.
  759.  
  760.     The SQL Server name is parsed to build the tagged expressions.
  761.     All characters up to, but not including, <string> are included
  762.     in a tagged expression. Any subsequent portions of the
  763.     SQL Server name include <string>.
  764.  
  765.     For example, given the following <server_source_template>:
  766.  
  767.         ?1xxx?2
  768.  
  769.     If the specified SQL Server name is AAAxxxBBB, then the following
  770.     tags would be built:
  771.  
  772.         ?1 = AAA
  773.         ?2 = xxxBBB
  774.  
  775.     <monitor_subst_template>
  776.     Is the substitution template, used with the above tagged
  777.     expressions, to build the SQL Monitor connection string. This string
  778.     can contain tagged expressions using the format ?<n>.
  779.  
  780.     Each tagged expression is substituted with the corresponding
  781.     tags built from the <server_source_template>. Any characters
  782.     other than ?<n> are used directly to construct the SQL Monitor
  783.     connection string.
  784.  
  785.     Using the example above, and given the following
  786.     <monitor_subst_template>:
  787.  
  788.         ?1_mon@test_?2
  789.  
  790.     the resulting SQL Monitor connection string would be:
  791.  
  792.         AAA_mon@test_xxxBBB
  793.  
  794. *****TCP/IP Windows Sockets Client Support*****
  795.  
  796. For clients running Windows for Workgroups or Windows NT, 
  797. SQL Server supports client communication using standard 
  798. Windows Sockets as the IPC method across the TCP/IP protocol.
  799.  
  800. The following client Net-Library files, supported for connecting 
  801. only to Microsoft SQL Server, are provided with SQL Server:
  802.  
  803. - DBMSSOCN.DLL. Windows NT-based Windows Sockets client. 
  804.   The Windows Sockets Net-Library for Windows NT is supported 
  805.   on Windows NT Server version 3.5, Windows NT Workstation 
  806.   version 3.5, Windows NT Advanced Server version 3.1, and 
  807.   Windows NT version 3.1. 
  808.  
  809. - DBMSSOC3.DLL. Windows-based Windows Sockets client. The 
  810.   Windows Sockets Net-Library for Windows is supported on 
  811.   Windows for Workgroups version 3.11 with Microsoft TCP/IP 
  812.   for Windows for Workgroups version 1.0 and on Windows for 
  813.   Workgroups version 3.11 with the new Microsoft TCP/IP-32 for 
  814.   Windows for Workgroups 3.11.
  815.  
  816.   The Windows Sockets Net-Library for Windows is also supported 
  817.   on the Windows 3.1 environment (WOW) of Windows NT Server 
  818.   version 3.5, Windows NT Workstation version 3.5, Windows NT 
  819.   Advanced Server version 3.1, and Windows NT version 3.1
  820.  
  821.   Note: Windows clients running the new Microsoft TCP/IP-32 for 
  822.   Windows for Workgroups 3.11 stack and attempting socket 
  823.   connections to the server must upgrade to the newest 
  824.   DBMSSOC3.DLL, which is included with SQL Server version 4.21A.
  825.  
  826. - DBMSSOC.EXE. MS-DOS-based Microsoft TCP/IP socket client. The 
  827.   Microsoft TCP/IP socket Net-Library for MS-DOS is supported 
  828.   for MS-DOS-based applications running on Windows for Workgroups 
  829.   3.11 with Microsoft TCP/IP for Windows for Workgroups version 
  830.   1.0. It is not supported for the MS-DOS environment of Windows 
  831.   NT version 3.1, nor with the new Microsoft TCP/IP-32 for Windows 
  832.   for Workgroups 3.11 (because these environments support only the 
  833.   Windows Sockets specification).
  834.  
  835. The Windows Sockets Net-Libraries have been extensively tested on 
  836. the supported platforms for connecting to Microsoft SQL Server. 
  837. Support for other TCP/IP protocols that support Windows 
  838. Sockets is planned for future releases. Using these Net-Libraries 
  839. with other TCP/IP protocols or to connect to other than Microsoft 
  840. SQL Server has not been extensively tested, and 
  841. their use in these ways is not guaranteed. Any feedback you have 
  842. on the Windows Sockets Net-Libraries is welcome on the Microsoft 
  843. SQL Server (GO MSSQL) forum on CompuServe(R).
  844.  
  845. -----------------
  846. New TCP/IP-32 Protocol Stack for Windows for Workgroups Clients
  847.  
  848. A new client protocol stack, Microsoft TCP/IP-32 for Windows 
  849. for Workgroups 3.11, is distributed with Windows NT Server 
  850. version 3.5 (and will also be made available by Microsoft 
  851. from other distribution sources). It allows Windows for 
  852. Workgroups clients to upgrade to the improved 32-bit protected 
  853. mode stack and take advantage of new TCP/IP services provided 
  854. by Windows NT Server version 3.5 (such as the new DHCP and WINS 
  855. services).
  856.  
  857. Note: This protocol stack does not support the real-mode sockets 
  858. as implemented in earlier versions of TCP/IP for Microsoft LAN 
  859. Manager and Windows. All socket support is provided through the 
  860. Windows Sockets specification. Because of this, DBMSSOC.EXE 
  861. (the MS-DOS-based Microsoft TCP/IP socket client Net-Library) is 
  862. not supported in this configuration.
  863.  
  864. Windows clients running the new Microsoft TCP/IP-32 for 
  865. Windows for Workgroups 3.11 stack and attempting socket 
  866. connections to the server must upgrade to the newest 
  867. DBMSSOC3.DLL, which is included with SQL Server version 4.21A.
  868.  
  869. -----------------
  870. Simplified System Administration Using DHCP and WINS
  871.  
  872. Windows NT version 3.5 provides for easy administration 
  873. of large TCP/IP networks by offering the Dynamic Host 
  874. Configuration Protocol (DHCP) service for automatic TCP/IP 
  875. configuration, and the Windows Internet Name Service (WINS) 
  876. for dynamic mapping of network names and addresses. This 
  877. enables users to operate in large scale TCP/IP networking 
  878. environments with little administrative support. (For 
  879. information on configuring clients, see Client 
  880. Configuration, below.)
  881.  
  882. Note that to take advantage of the DHCP and WINS services 
  883. a Windows for Workgroups client must be using the new 
  884. TCP/IP-32 protocol stack and must have these services enabled.
  885.  
  886. -----------------
  887. Client Configuration
  888.  
  889. To configure a client running Windows or Windows NT to use 
  890. the Windows Sockets Net-Library, follow the steps under 
  891. "Setting Up Server Connections" in Chapter 3 of the Microsoft 
  892. SQL Server Configuration Guide (page 94). In the DLL Name box, 
  893. type the appropriate Windows Socket Net-Library name (DBMSSOCN for 
  894. Windows NT, DBMSSOC3 for Windows). The Connection String 
  895. uses the format:
  896.  
  897.    <ip_address>,[<socket_number>]
  898.  
  899. where <ip_address> is the IP address of the computer 
  900. running SQL Server, and <socket_number> is the optional 
  901. socket number that SQL Server is listening on.
  902.  
  903. It is also possible to configure a client running Windows 
  904. or Windows NT to use the Windows Sockets Net-Library by 
  905. default. From the SQL Client Configuration Utility, in 
  906. the Default Network box select TCP/IP Sockets. Using this 
  907. method, connections can be established by using the 
  908. <ip_address>,[<socket_number>] directly as the SQL Server 
  909. name, or by using a server name with the format:
  910.  
  911.    <host_name>,[<socket_number>]
  912.  
  913. where <host_name> is a TCP/IP host name that has been 
  914. defined in the client HOSTS file or on a Domain Name Service 
  915. (DNS), or is the machine name of a Windows NT Server 
  916. running SQL Server if WINS is enabled, and <socket_number> 
  917. is the optional socket number that SQL Server is listening 
  918. on. For a client running Windows for Workgroups, the HOSTS 
  919. file is located in the \WINDOWS directory by default. For 
  920. a client running Windows NT, the HOSTS file is located in 
  921. the \WINDOWS\SYSTEM32\DRIVERS\ETC directory by default. For 
  922. other TCP/IP protocols that support Windows Sockets, see 
  923. your TCP/IP documentation.
  924.  
  925. To configure a client running MS-DOS to use the Microsoft 
  926. TCP/IP sockets Net-Library, you use an environment variable 
  927. before loading the Net-Library TSR (DBMSSOC.EXE). The 
  928. environment variable <server> is a logical server name, 
  929. and is set using this format:
  930.  
  931.    set <server>=<ip_address>,[<socket_number>]
  932.  
  933. In all cases, if the <socket_number> is not specified, the 
  934. Net-Library uses 1433, the official Internet Assigned Number 
  935. Authority (IANA) socket number for Microsoft SQL Server. Because 
  936. this official IANA socket number was not available at the time, 
  937. SQL Server version 4.2 used a temporary TCP/IP 
  938. socket number of 3180 by default.
  939.  
  940. -----------------
  941. Memory Considerations Using TCP/IP for Windows for Workgroups Version 1.0
  942.  
  943. The Microsoft TCP/IP for Windows for Workgroups WINSOCK.DLL 
  944. requires 47K of low memory, 1.6K of low memory per socket 
  945. defined, and 32K of low memory per socket opened. If 
  946. available low memory becomes insufficient or fragmented, 
  947. you might see the error "There is not enough DOS memory 
  948. allocated for DOS buffers for all sockets" when attempting 
  949. to open a socket connection. If this error occurs, try closing 
  950. some applications, configuring your system to make more 
  951. conventional memory available, or reducing the number of 
  952. available sockets. Although Microsoft TCP/IP for Windows 
  953. for Workgroups supports up to 21 sockets, it is recommended 
  954. that you set this value to a realistic number of concurrent 
  955. SQL Server connections.
  956.  
  957. Note that this applies to clients using Microsoft TCP/IP for 
  958. Windows for Workgroups version 1.0. These considerations can 
  959. be avoided by upgrading to the new Microsoft TCP/IP-32 for 
  960. Windows for Workgroups 3.11.
  961.  
  962. *****Windows for Workgroups Clients on Novell NetWare Networks*****
  963.  
  964. Microsoft Windows for Workgroups version 3.11 enhances the network 
  965. integration available with Novell NetWare by offering peer network 
  966. functionality and connectivity to computers running Windows NT. 
  967. SQL Server clients running Windows for Workgroups can be configured 
  968. in several ways using the Network Setup application.
  969.  
  970. If only Windows support for Novell NetWare is installed (and Microsoft 
  971. Windows Network is not installed), then you are using the Novell NetWare 
  972. IPX protocol (IPXODI). This protocol supports SPX as the IPC method for 
  973. connecting to SQL Server. This means that you should use the SQL Client 
  974. Configuration Utility to set the default network to Novell IPX/SPX. 
  975. This configuration will allow Windows for Workgroups to use the IPX/SPX 
  976. Net-Library to connect to SQL Server for Windows NT running NWLink, and 
  977. to connect to SQL Server for OS/2 running the Microsoft Network 
  978. Integration Kit for Novell NetWare Networks.
  979.  
  980. If only the Microsoft Windows Network is installed (and Windows support 
  981. for Novell NetWare is not installed), you can still use IPX to 
  982. connect to SQL Server for Windows NT. Use the Drivers button to ensure 
  983. that the IPX/SPX Compatible Transport With NetBIOS network protocol 
  984. is installed. This IPX protocol is included with Windows for Workgroups 
  985. 3.11 and is similar to Windows NT NWLink. This protocol supports named 
  986. pipes as the IPC method for connecting to SQL Server. This means that 
  987. you should use the SQL Client Configuration Utility to set the 
  988. default network to Named Pipes. This configuration will allow 
  989. Windows for Workgroups to use the named pipes Net-Library to 
  990. connect to SQL Server running NWLink. However, 
  991. it will not connect to SQL Server for OS/2, because Windows for 
  992. Workgroups named pipes are not designed to interoperate with 
  993. Novell OS/2 Requestor named pipes.
  994.  
  995. If both the Microsoft Windows Network and Windows support for Novell 
  996. NetWare are installed, you can use either the named pipes or IPX/SPX 
  997. Net-Library to connect to SQL Server for Windows NT running NWLink, 
  998. or use the IPX/SPX Net-Library to connect to SQL Server for OS/2 running 
  999. the Network Integration Kit for Novell NetWare Networks.
  1000.  
  1001. It is recommended that the named pipes Net-Library be used, because 
  1002. features such as integrated security and adjustable packet size are 
  1003. available only with named pipes.
  1004.  
  1005. *****Updated Files Required for Windows for Workgroups 3.11-based Clients*****
  1006.  
  1007. Windows NT Server version 3.5 allows clients running Windows 
  1008. for Workgroups version 3.11 to connect to the server via direct 
  1009. host IPX.  However, a client running Windows for Workgroups 
  1010. version 3.11 cannot establish named pipe connections over 
  1011. NWLink to SQL Server on Windows NT Server version 3.5 unless 
  1012. that client is provided with some updated Windows for 
  1013. Workgroups files. These files include a new version of 
  1014. the Windows for Workgroups redirector and other network 
  1015. support files that provide improved performance. They are 
  1016. distributed on the Windows NT Server version 3.5 CD, in the 
  1017. \CLIENTS\WFW\UPDATE directory. The updated files are:
  1018.  
  1019.    NDIS.386
  1020.    NET.EXE
  1021.    NETAPI.DLL
  1022.    NWNBLINK.386
  1023.    VNETSUP.386
  1024.    VREDIR.386
  1025.  
  1026. These files should be used only for Windows for Workgroups 
  1027. version 3.11. They will allow named pipe connections to work 
  1028. properly to Microsoft SQL Server over direct host IPX. To 
  1029. install these new files on a computer running Windows for Workgroups:
  1030.  
  1031. 1. Copy all the files from the \CLIENTS\WFW\UPDATE directory 
  1032.    on the Windows NT Server CD into the local C:\WINDOWS\SYSTEM 
  1033.    directory of the Windows for Workgroups 3.11-based client.
  1034.  
  1035.    Note: Remember to use the Windows NT Server CD. The 
  1036.    Microsoft SQL Server CD does not contain these files.
  1037.  
  1038. 2. On the Windows for Workgroups 3.11-based client, move 
  1039.    the NET.EXE file from C:\WINDOWS\SYSTEM to C:\WINDOWS.
  1040.    Because these files provide a general maintenance upgrade 
  1041.    along with a number of fixes and improvements, copying 
  1042.    the updated files is the preferred solution. However, 
  1043.    there is an alternative solution. On any Windows for 
  1044.    Workgroups 3.11-based client that does not have the 
  1045.    updated files, you can edit the SYSTEM.INI file of the 
  1046.    client to set:
  1047.  
  1048.       [network]
  1049.       DirectHost=off
  1050.  
  1051. This allows that Windows for Workgroups 3.11-based client 
  1052. to establish named pipe connections over NWLink to SQL Server 
  1053. on Windows NT Server version 3.5.
  1054.  
  1055. *****Novell NetWare And Microsoft Windows 3.1 Software Patches*****
  1056.  
  1057. If you are experiencing occasional system hangs, black screens, frozen 
  1058. mouse pointers, or EMM386 errors on your client workstations while 
  1059. using SPX/IPX connections, several patches are available on CompuServe 
  1060. to help eliminate or reduce the frequency of these problems.
  1061.  
  1062. The majority of these types of problems are solved by upgrading the Novell 
  1063. client software. DOSUP9.EXE and WINUP9.EXE are distributed by 
  1064. Novell in the Novell Software Library (GO NOVLIB).
  1065.  
  1066. A small percentage of these failures can be caused by a problem in the
  1067. Windows virtual timing device. Microsoft is distributing a patch 
  1068. (WW0863.EXE) for this problem in the Microsoft Software Library
  1069. (GO MSL).
  1070.  
  1071. *****OS/2 2.1 Network Client Support*****
  1072.  
  1073. Installation of Microsoft LAN Manager version 2.2, IBM(R) LAN Server 
  1074. version 2.0 (Entry System), or IBM LAN Server version 3.0 on 
  1075. OS/2 2.1-based workstations is required to enable the use of named pipe 
  1076. client connections. With these versions, named pipe clients are 
  1077. supported in both native OS/2 2.1 and DOS-OS/2 environments.
  1078.  
  1079. Installation of the Novell NetWare Requester for OS/2 version 2.01
  1080. on OS/2 2.1-based workstations is required to enable the use of IPX/SPX 
  1081. client connections. With this version, IPX/SPX clients are supported in 
  1082. both native OS/2 2.1 and DOS-OS/2 environments.
  1083.  
  1084. Installation of the Banyan VINES version 5.52(5) client software on 
  1085. OS/2 2.1-based workstations is required to enable the use of VINES SPP 
  1086. client connections. With this version, VINES SPP clients are supported 
  1087. in both native OS/2 2.1 and DOS-OS/2 environments.
  1088.  
  1089. It is recommended that you run Windows-based SQL Server client 
  1090. applications in their native environment, on Microsoft Windows 
  1091. version 3.1. However, Windows-based applications that access SQL Server
  1092. using named pipes will run on OS/2 version 2.1 if you are 
  1093. using Microsoft LAN Manager version 2.2 or IBM LAN Server version 3.0.
  1094. Internal testing has found the WIN-OS/2 environment to be unstable 
  1095. with other networking software.
  1096.  
  1097. ------------------------------------------------------------------------
  1098. Microsoft SQL Server Tools Enhancements
  1099. ------------------------------------------------------------------------
  1100.  
  1101. *****SQL Transfer Manager*****
  1102.  
  1103. Microsoft SQL Server version 4.21 includes 
  1104. SQL Transfer Manager. SQL Transfer Manager provides an easy, graphical 
  1105. way to transfer objects and data from a Microsoft-based SQL Server or a 
  1106. SYBASE(R)-based SQL Server to Microsoft SQL Server for Windows NT. (For
  1107. example, transferring data from Microsoft SQL Server running on an 
  1108. Intel-based server to a SQL Server on a different architecture, or 
  1109. transferring data from a SYBASE SQL Server on UNIX(R).) 
  1110.  
  1111. You can also use this tool to transfer data from a server with one sort 
  1112. order to a server with a different sort order. Note, however, that this 
  1113. tool does not convert extended characters, so you cannot use it for 
  1114. conversion from one code page to another. 
  1115.  
  1116. For detailed information about using SQL Transfer Manager, see the 
  1117. online Help provided with the utility.
  1118.  
  1119. *****SQL Administrator Compatibility*****
  1120.  
  1121. Although the version of SQL Administrator that runs against SQL Server 
  1122. for OS/2 4.2/4.2A will also work against SQL Server for Windows NT, 
  1123. it is recommended that you upgrade SQL Server client tools on any 
  1124. Windows 3.1-based clients that you plan to run against SQL Server for 
  1125. Windows NT. This enables you to use additional tools and features 
  1126. available with SQL Server for Windows NT (such as SQL Object Manager, 
  1127. ISQL/w, and the SQL Client Configuration Utility). SQL Server for OS/2 
  1128. version 4.2B contains these tools (version 4.2/4.2A does not). You can 
  1129. upgrade your tools to the very latest version, 4.21A, by using the 
  1130. Windows 3.1 Utilities disk provided with this release of SQL Server for 
  1131. Windows NT. If you use the Utilities disk, you must also upgrade the 
  1132. existing SQL Server for OS/2 installation if it is not version 4.2B 
  1133. (for example, it is  version 4.2 or 4.2A) by running INSTMSTR.SQL, 
  1134. INSTCAT.SQL, ADMIN2.SQL, and OBJECT2.SQL, which are found in the 
  1135. \SQL\INSTALL directory of the SQL Server for Windows NT installation.
  1136.  
  1137. *****SQL Monitor Enhancements*****
  1138.  
  1139. -----------------
  1140. SQL Monitor and Changing the SA Password
  1141.  
  1142. If you change the SA password in SQL Server and want to start 
  1143. SQL Monitor as a service (instead of starting SQL Monitor from the 
  1144. command line), you must change the SA password in SQL Monitor as 
  1145. well. To do this, use the /NEWPASSWORD = parameter in netsql start 
  1146. sqlmonitor. For example:
  1147.  
  1148. netsql start sqlmonitor /NEWPASSWORD=sqlsa
  1149.  
  1150. Note that starting SQL Monitor with the password parameter (/P=) 
  1151. overrides the set SA password.
  1152.  
  1153. -----------------
  1154. SQL Monitor is Now Mail Enabled
  1155.  
  1156. If you have configured SQL Server to be mail enabled, 
  1157. SQL Monitor can send mail messages to specified recipients about 
  1158. scheduled backup events. Use the Scheduled Backup Event Entry dialog 
  1159. box in SQL Administrator to specify a list of recipients. You can 
  1160. specify up to 60 characters; separate names by semicolons(;). After you 
  1161. have specified a list of recipients, those people will be sent mail 
  1162. whenever a backup occurs.
  1163.  
  1164. *****SQL Administrator Scheduled Backups*****
  1165.  
  1166. -----------------
  1167. Transaction Log Backups
  1168.  
  1169. In previous versions of SQL Administrator, when SQL Monitor attempted 
  1170. to perform a scheduled backup for a transaction log and SQL Monitor 
  1171. terminated sometime during the process, SQL Monitor would dump the 
  1172. transaction log again when restarted, regardless of whether the previous 
  1173. backup was successful. This posed a problem because SQL Monitor would 
  1174. overwrite the previous transaction log dump, even though it might have 
  1175. completed, so the chain of transaction log backups would be incorrect. 
  1176. To solve this problem, SQL Monitor now handles failure during a 
  1177. transaction log dump in the following order:
  1178.  
  1179. 1. SQL Monitor records a dump in progress while it is dumping the 
  1180. transaction log.
  1181.  
  1182. 2. If SQL Monitor fails and then starts up again and sees that a dump 
  1183. was in progress, but it does not know whether that dump completed, 
  1184. SQL Monitor records an error to the Event Log and also sends a mail 
  1185. message about the failure to a list of recipients (if SQL Server is mail 
  1186. enabled and SQL Administrator is set up to send messages to a list 
  1187. of recipients).
  1188.  
  1189. 3. Further dumps of the transaction log are suspended. After the user 
  1190. either dumps the full database or determines that the transaction log 
  1191. dump is complete, the user must reactivate the scheduled transaction 
  1192. log dumps. (This is done by selecting Yes under Enable in the Scheduled 
  1193. Backup Event Entry dialog box. )
  1194.  
  1195. Note that if the scheduled backup is a database backup, steps 1 and 2 
  1196. are followed, and the schedule for database backups will continue as is 
  1197. and not be disabled.
  1198.  
  1199. -----------------
  1200. Performing Long Scheduled Backups
  1201.  
  1202. If you are using SQL Administrator to perform scheduled backups of large 
  1203. databases (for example, those greater than 100 megabytes), you will likely 
  1204. need to increase the SQL Monitor /sqltimeout option to a length of time 
  1205. long enough to complete the backup.
  1206.  
  1207. *****SQL Object Manager and BCP*****
  1208.  
  1209. SQL Object Manager version 4.2 used bulk copy files based on the ANSI 
  1210. character set if AutoANSItoOEM was turned on, or based on the character 
  1211. set of the SQL Server if AutoANSItoOEM was turned off. The character 
  1212. mode BCP.EXE versions 4.20 and 4.21 utilities use bulk copy files based 
  1213. on the character set of the SQL Server. With version 4.21, 
  1214. SQL Object Manager now uses the OEM character set. If you used 
  1215. SQL Object Manager version 4.2 with AutoANSItoOEM turned on to bulk 
  1216. copy out character data that contained extended characters (character 
  1217. positions 128-255), the file is based on the ANSI character set; if you 
  1218. bulk copy the files back in using SQL Object Manager version 4.21, 
  1219. these extended characters will be converted incorrectly.
  1220.  
  1221. *****Additional Information About Database Backups*****
  1222.  
  1223. -----------------
  1224. Database Names When Dumping and Loading
  1225.  
  1226. When you dump a database to tape, only the first 17 characters of the 
  1227. database name are stored. If the database name is longer than 17 
  1228. characters and you try to restore the database, you will receive an 
  1229. error message indicating that the names are different. For this reason, 
  1230. it is recommended that you limit database names to 17 characters if you 
  1231. plan to back them up to tape. If you are using SQL Administrator to 
  1232. restore the database, you can choose to continue, even if the names are 
  1233. different, as long as you're sure that the actual databases are the 
  1234. same. If you are using ISQL, however, the restore process will be 
  1235. terminated.
  1236.  
  1237. -----------------
  1238. Performing Multivolume Backups Using a QIC Tape Drive
  1239.  
  1240. If you are using a QIC tape drive to perform multivolume dump or load 
  1241. operations using ISQL, you must have the console program running. 
  1242. Do not use a batch operation to perform multivolume tape operations 
  1243. with this drive.
  1244.  
  1245. *****Additional Information about BCP and ISQL*****
  1246.  
  1247. -----------------
  1248. Default Packet Size in ISQL and BCP
  1249.  
  1250. The documentation for the /a packet_size parameter of ISQL and BCP 
  1251. gives an incorrect value for default packet size. The correct default 
  1252. packet size for ISQL is 512. The correct default packet size for BCP on 
  1253. Windows NT is 4096; on MS-DOS and OS/2, the default packet size is 512.
  1254.  
  1255. -----------------
  1256. BCP Out
  1257.  
  1258. In addition to the BCP support documented in the "Microsoft SQL Server 
  1259. Transact-SQL Reference," the BCP utility now also supports copying 
  1260. data out of a view. This feature allows you to copy specific columns, 
  1261. add a WHERE clause, or perform special formatting such as changing 
  1262. data formats using the CONVERT function.
  1263.  
  1264. ------------------------------------------------------------------------
  1265. Cache Management Improvements
  1266. ------------------------------------------------------------------------
  1267. A new system process, Lazywriter, has been added to Microsoft SQL 
  1268. Server version 4.21. The Lazywriter's main task is to flush 
  1269. out batches of dirty, aged buffers (buffers that contain 
  1270. changes that must be written back to disk before the buffer 
  1271. can be reused for a different page) and make them available 
  1272. to user processes.
  1273.  
  1274. Previously, individual processes would search the data cache for an 
  1275. available buffer. If a clean buffer (a buffer that remained unchanged 
  1276. since the last read from disk) was not found, the user process would 
  1277. select a dirty buffer and be required to flush the contents of the 
  1278. buffer to disk before claiming it. In the case where most buffers in 
  1279. the data cache were dirty (due to extensive update activity), the 
  1280. overhead of searching for free data buffers and having to individually 
  1281. flush dirty buffers to disk caused degradation in performance. One way 
  1282. of avoiding this problem previously was to reduce the recovery interval 
  1283. and have checkpoint flush the buffer cache in batches more often so that
  1284. individual processes wouldn't have to do it one at a time.
  1285.  
  1286. With the introduction of Lazywriter, the need to checkpoint 
  1287. frequently for the purpose of creating available buffers has been 
  1288. eliminated. The batch I/O size used by Lazywriter can be set by the
  1289. max async io parameter of sp_configure. This parameter controls both 
  1290. the checkpoint's and Lazywriter's batch I/O size, and it can be tuned 
  1291. to maximize the I/O throughput for specific hardware platforms and I/O 
  1292. subsystems.
  1293.  
  1294. The Lazywriter process automatically starts flushing buffers when the 
  1295. number of available free buffers falls below a certain threshold, and it 
  1296. stops flushing buffers when this number goes ~5-6% above the threshold.
  1297. This threshold value is specified as a percentage of the total number 
  1298. of buffers in the buffer cache. The default threshold is set to 3% of 
  1299. the buffers in the data cache and should be sufficient in most situations.
  1300. However, if necessary, the Lazywriter threshold can be modified using 
  1301. the BLDMASTR utility with the -y switch, as follows:
  1302.  
  1303. bldmastr -dc:\sql\data\master.dat -yLRUThreshold=<x>
  1304.  
  1305. where x is a percentage of the size of the data cache (values 
  1306. between 1 and 40 are valid).
  1307.  
  1308. ***CAUTION: Be careful to type the command exactly as shown. The 
  1309. command should complete nearly immediately and not prompt for any 
  1310. input whatsoever. If you are prompted for input, you have made a 
  1311. syntactic error. Use CTRL+C to terminate the utility immediately. 
  1312. INCORRECT USE OF THE BLDMASTR UTILITY CAN INADVERTENTLY CHANGE 
  1313. YOUR MASTER DATABASE. The LRUThreshold argument is case-sensitive.
  1314.  
  1315. Because cache management has been enhanced, some meanings of the 
  1316. SQL Server counters in the Performance Monitor have changed. For the 
  1317. most up-to-date definitions of the SQL Server performance counters, 
  1318. see the Explain text in the Performance Monitor.
  1319.  
  1320. -------------------------------------------------------------------
  1321. Enhanced NOCOUNT option of the SET statement
  1322. -------------------------------------------------------------------
  1323. Previously, even if the NOCOUNT option of the SET statement was set (so 
  1324. that no messages about the number of rows affected by a SQL statement 
  1325. were displayed in a client session), the messages were still being sent 
  1326. across the network. For this release, the NOCOUNT option has been 
  1327. enhanced so that when it is set, no row count messages are sent across 
  1328. the network at all. This can reduce network traffic when executing a 
  1329. stored procedure containing a large number of SQL statements across a 
  1330. wide area network (WAN) or when using remote access or dial-up networks.
  1331.  
  1332. You can use this option from within a trigger or a stored procedure, or 
  1333. you can set it on a user basis. The system administrator can also set 
  1334. this option server-wide by using the trace flag 3640 when starting 
  1335. SQL Server. Note that when you use this trace flag, even if a client 
  1336. session wants to see the rows affected messages, the messages will 
  1337. not be sent.
  1338.  
  1339. -------------------------------------------------------------------
  1340. Acknowledgments
  1341. -------------------------------------------------------------------
  1342. Information in this document is subject to change 
  1343. without notice. Companies, names, and data used in 
  1344. examples herein are fictitious unless otherwise 
  1345. noted. No part of this document may be reproduced or 
  1346. transmitted in any form or by any means, electronic 
  1347. or mechanical, for any purpose, without the express 
  1348. written permission of Microsoft Corporation.
  1349.  
  1350. ⌐1990-1994 Microsoft Corporation. All rights reserved.
  1351.  
  1352. Microsoft, MS, MS-DOS, Windows, Windows NT and Win32 
  1353. are either registered trademarks or trademarks of Microsoft 
  1354. Corporation in the United States and/or other countries. 
  1355.  
  1356. Alpha AXP is a trademark of Digital Equipment Corporation.
  1357. Apple is a registered service mark of Apple Computer, Inc.
  1358. AppleTalk is a registered trademark of Apple Computer, Inc.
  1359. Banyan is a registered trademark of Banyan Systems, Inc.
  1360. CompuServe is a registered trademark of CompuServe, Inc.
  1361. DECnet is a trademark of Digital Equipment Corporation.
  1362. IBM and OS/2 are registered trademarks of International 
  1363. Business Machines Corporation.
  1364. Intel is a registered trademark of Intel Corporation.
  1365. Macintosh is a registered trademark of Apple Computer, Inc.
  1366. MIPS is a registered trademark of MIPS Computer Systems, Inc.
  1367. NetWare is a registered trademark of Novell, Inc.
  1368. Novell is a registered trademark of Novell, Inc.
  1369. SQL Server is a trademark of Microsoft Corporation. 
  1370. StreetTalk is a trademark of Banyan Systems, Inc.
  1371. SYBASE is a registered trademark of Sybase, Inc.
  1372. VINES is a registered trademark of Banyan Systems, Inc.
  1373. VMS is a trademark of Digital Equipment Corporation.
  1374. UNIX is a registered trademark of UNIX Systems Laboratories.
  1375.  
  1376.