home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Resources / Developers / EMS SQL Manager 2005 Lite for SQL Server 2.3 / MsManagerLite.exe / msmanager.chm / cshelp.txt < prev    next >
Encoding:
Text File  |  2006-04-17  |  82.8 KB  |  2,267 lines

  1. .topic 670
  2. EMS SQL Manager 2005 for SQL Server is a powerful tool for SQL Server administration and development. SQL Manager 2005 for SQL Server works with any SQL Server versions from 7 to 2005 and supports all of the latest features including assembiles, DDL triggers, synonyms, typed XML columns, and so on. It offers plenty of powerful tools for experienced users to satisfy all their needs. SQL Manager 2005 for SQL Server has a new state-of-the-art graphical user interface with well-described wizard system, so clear in use that even a newbie will not be confused with it.
  3.  
  4.  
  5. EMS SQL Manager 2005 for SQL Server new features:
  6.  
  7.  
  8. Latest SQL Server versions support
  9.  
  10. Full compatibility with any SQL Server version from 7 to 2005.
  11. Full support of SQL Server 2005 permission system.
  12. DDL Triggers, Synonyms and Aggregates support.
  13. Typed XML columns.
  14.  
  15. Significantly improved user interface
  16.  
  17. New well-described Wizard System to perform complex tasks easily.
  18. Fast accessing to most essential actions using Navigation bars in most of the windows.
  19. New Windows Toolbar to switch between windows easily, like Windows Task Bar.
  20. Office 11 and Windows XP visual schemes support.
  21.  
  22. Improved Database Explorer
  23.  
  24. Creating tabs for any tree node to access it in one-click!
  25. Work with multiple selected objects at a time.
  26. Much more convenient toolbar and context menu.
  27.  
  28. New powerful tools to perform SQL Server administrative tasks
  29.  
  30. Server and database properties windows.
  31. DTS Packages management tool.
  32.  
  33. Visual Database Designer to handle database structure in a few clicks
  34.  
  35. Creating diagram of existing database using Reverse engineering tool.
  36. Dividing diagram into different subject areas located on separate pages.
  37. Navigating through diagram using preview navigation tool.
  38. Creating/editing/dropping tables and table fields visually setting links between them.
  39. Saving as image or printing database diagram.
  40. Two diagram notations (IDEF1x and IE).
  41. A lot of visual customization options.
  42.  
  43. New powerful data management tools
  44.  
  45. Plenty of useful tools such as data grouping, summarizing, fast searching and filtering.
  46. Master-Detail View to work with two linked tables at the same time.
  47. Table and Card Views to see data the way you like.
  48. Ability to copy and paste selected records.
  49. Advanced printing system.
  50. Fully customizable interface.
  51.  
  52. Improved report management
  53.  
  54. New Create Report Wizard allows you to create simple report in a few clicks.
  55. Managing reports the same way as if they were a database object: accessing reports directly through DB Explorer tree.
  56.  
  57.  
  58.  
  59. .topic 1220
  60.  
  61.  
  62.  
  63. What's New in EMS SQL Manager 2005 for SQL Server?
  64.  
  65. 1.    Editor Options. Key Mapping tab added which allows you to set the shortcuts for SQL editors.
  66. 2.    XML Schema Collections support is implemented
  67. 3.    Query Builder.
  68. Query execution plan is now displayed as a graphical diagram.
  69. Queries containing user-defined functiouns now supported.
  70.  
  71. 4.    Dependency Tree. The diagram can now be printed
  72.  
  73. 5.    SQL Editor.
  74. Now it's possible to rename and move query tabs
  75. Ability to execute statement under cursor added.
  76. Query execution time is now displayed in hh:mm:ss format.
  77. The timer in status bar area used to stay running on after aborting query execution.
  78.  
  79. 6.    SQL editors.
  80. Now you can set a source code fragment as a comment with a single click.
  81. Next Bookmark, Previous Bookmark context menu items added.
  82. With 'Trim trailing spaces' option on, an attempt to use Code Complete used to clear all the line. Fixed  now.
  83. Dragging the field names from SQL Assistant works perfectly now.
  84.  
  85. 7.    Grant Manager.  When opening Grant Manager window it was impossible to edit statement permissions without forced refresh. Fixed now.
  86.  
  87. 8.    HTML Report.
  88. Now you can include user and role information into a report.
  89. Ability to change header/footer of the report added.
  90.  
  91. 9.    Extract Database.
  92. The option adding the 'create database' statement to the script appeared.
  93. Server version is included into comments for the script now.
  94.  
  95. 10.    Environment Options. Now it's possible to set refreshing objects timeout. Refresh of the objects can be terminated after timeout expired if there is an active transaction that made any changes to metadata.
  96.  
  97. 11.    Open/save backup file dialogs now look more like standard ones in behaviour.
  98.  
  99. 12.    Import Data wizard.
  100. With 'Use transactionsà' option disabled now in 'Commit changes manually' mode you will be prompted for an action on transaction.
  101. Ability to resize wizard window added.
  102. 'Division by zero' error used to appear after importing data with the 'Commit changes manually' option switched on. Fixed now.
  103. Having specified user-defined fields to import, the rest of them were filled with empty strings; so that default values defined for the fields were not applied. Fixed now.
  104.  
  105. 13.    Trigger Editor. When altering a trigger schema/owner's name wasn't added to the trigger name in the script generated, that in some cases raised errors. Fixed now.
  106.  
  107. 14.    Foreign key/check constraint editors. 'Not for replication' option added.
  108.  
  109. 15.    Visual Database Designer.
  110. It was impossible to drop table via corresponding context menu item when just a field, not the table itself, was selected. Fixed now.
  111. When dragging a table not from default schema (SQL Server 2005) from DB Explorer to the Query Builder working area an error used to appear and the table was not added. Fixed now.
  112.  
  113. 16.    Grid
  114. The 'Paste Cell' menu item didn't work in Lite version. Fixed now.
  115. In some rare cases the data of of bigint-typed fields were displayed improperly. Fixed now.
  116. With 'Column auto-width' option enabled BLOB field columns used to become too wide. Fixed now.
  117.  
  118. 17.    SQL Script. Confirmation of abort script execution added.
  119.  
  120. 18.    Restore Database.
  121. It was impossible to type in backup file name in corresponding window. Fixed now.
  122. Prompt for registration the database used to appear even if restoration was unsuccessful. Fixed now.
  123.  
  124. 19.    Job Editor. Fixed the bug with a wrong script generation when you saved  the job in which the created schedule was deleted.
  125.  
  126. 20.    DB Explorer
  127. It was unable to open index or trigger via Recent Objects menu. Fixed now.
  128. Popup menu used to stay on top when switching between applications. Fixed now.
  129. After table duplication the indices and triggers of the new table were not displayed in DB Tree. Fixed now.
  130.  
  131. 21.    Export Data Wizard.
  132. With 'Export empty tables' option disabled on attempt to export an empty table there raised an error containng no text. Fixed now.
  133. In some cases, when exporting data to MS Excel format the 'Data format \ Styles' options used to work incorrectly. Fixed now.
  134. When exporting data to MS Excel format the user-adjusted Boolean True format used to be ignored. Fixed now.
  135.  
  136. 22.    Detach Database. Having used 'Clear connections' function, the database was still displayed in DB Tree and further attempts to access its objects returned errors. Fixed now.
  137.  
  138. 23.    Many other other small improvements and bugfixes.
  139.  
  140.  
  141. .topic 840
  142.  
  143.  
  144.  
  145. .topic 680
  146. To make it easier for you to purchase our products, we have contracted with share-it! registration service. The share-it! order process is protected via a secure connection and makes on-line ordering by credit/debit card quick and safe. The following information about share-it! is provided for your convenience.
  147.  
  148. Share-it! is a global e-commerce provider for software and shareware sales via the Internet. Share-it! accepts payments in US Dollars, Euros, Pounds Sterling, Japanese Yen, Australian Dollars, Canadian Dollars or Swiss Franks by Credit Card (Visa, MasterCard/EuroCard, American Express, Diners Club), Bank/Wire Transfer, Check or Cash.
  149.  
  150. If you have ordered EMS software online and would like to review your order information, or if you have questions about ordering, payments, or shipping procedures, please visit our Customer Care Center, provided by share-it!
  151.  
  152. Please note that all of our products are delivered via ESD (Electronic Software Delivery) only. After purchase you will be able to immediately download the registration keys or passwords and download links for archives of full versions. Also you will receive a copy of registration keys or passwords by e-mail. Please make sure to enter a valid e-mail address in your order. If you have not received the keys within 2 hours, please, contact us at sales@sqlmanager.net.
  153.  
  154.  
  155. SQL Manager 2005 for SQL Server
  156.  
  157.  
  158.  
  159.  
  160.  
  161. .topic 1200
  162.  
  163.  
  164. Full version history is available at http://www.sqlmanager.net/products/mssql/manager/news.
  165.  
  166.  
  167.     Version 2.2.0.1    -    February 7, 2006
  168.  
  169. 1.    SQL Editor. Query execution plan is now displayed as a graphical diagram.
  170. 2.    SQL Formatter. Formats SELECT, INSERT, UPDATE, DELETE queries. (Available from SQL Editor context menu)
  171. 3.    Grid.
  172.     Now when pasting records from the clipboard, you can set correspondences between clipboard columns and query columns.
  173.     Form view. Memo fields editor is extended (can be customized in Grid > Advanced tab of Environment Options dialog).
  174.     Blob View. 'Word Wrap' option for text added.
  175.     'Set to Empty String' and other similar operations do not result in posting records in the table any more.
  176.  
  177. 4.    SQL Script.
  178. Progress in script execution is now displayed and execution process can be stopped.
  179. Several windows can now be opened simultaneously.
  180. SQL Script used to hang when a large (>10Mb) script was edited and Enable Parsing was on. Fixed now.
  181. Now some additional Types of Statements can be parsed.
  182.  
  183. 5.    SQL Editor.
  184.     Query execution plan now works with SQL Server 2005.
  185.     Now there are no limitations for the size of edited scripts.
  186.  
  187. 6.    Field Editor. Default constraints now can be renamed.
  188.  
  189. 7.    DTS Packages. Now you can remove imported packages.
  190.  
  191. 8.    Table Data. Not all the records added with the following COMMIT in 'Use transactions in Data tab of object editors, SQL Editor and Query Builder' mode (Tools tab) were displayed. Fixed now.
  192.  
  193. 9.    Exract Database. The following bugs are fixed:
  194. With 'Insert COMMIT after each block' option turned on, COMMIT was added but without corresponding BEGIN TRANSACTION.
  195. Empty not-NULL image fields used to be displayed incorrectly.
  196. dbo name was missing when generating INSERT INTO [dbo].[table_name].
  197.  
  198. 10.    Export as SQL Script. With 'Insert COMMIT after each block' option turned on, COMMIT was added but without corresponding BEGIN TRANSACTION. Fixed now.
  199.  
  200. 11.    Wrong dependency order was showed for Assemblies, Aggregates, Partition Functions and Partition Schemas: main object used to be diaplayed after the dependent one. Fixed.
  201.  
  202. 12.    Visual Database Designer. There were no changes seen in opened graphical diagram when the table name or any table field was edited.
  203.  
  204. 13.    Reorder Columns, Duplicate table, Extract Metadata. The tables with timestamp/rowversion field are processed properly now.
  205.  
  206. 14.    Switching program interface language took a long time if there were any databases connected. Fixed now.
  207.  
  208. 15.    Database Properties. If  'Auto file growth' option was off for a DB file, it couldn't be turned on. Fixed.
  209.  
  210. 16.    Attach Database. The following bugs are fixed:
  211. It was unable to set login and password using SQL Authentication.
  212. File name field did not contain the button to call 'Select File' dialog.
  213.  
  214. 17.    UDT Editor. 'For new columns only' options are processed properly now.
  215.  
  216. 18.    DB Explorer. following bugs are fixed:
  217. It was unable to duplicate triggers and indices
  218. After dropping a trigger or index it was still displayed in the DB Explorer tree.
  219.  
  220. 19.    Query Builder stores queries between sessions now.
  221.  
  222. 20.    'Don't fill server lists in connection forms' option is added. It bans retrieving information about all SQL servers available on the local network because in some rare cases it might take a long time.
  223.  
  224. 21.    The border of SQL editor is now painted according to the current visual scheme.
  225.  
  226. 22.    Procedure Editor. If the FLOAT type was specified for procedure parameter and had value equal to 0, it used to be processed as NULL. Fixed now.
  227.  
  228. 23.    Restore Database > Select Backup Set. Sometimes due to the improper size of the dialog directory tree was not seen. Fixed.
  229.  
  230. 24.    The needed documentation page did not open for some forms when pressing F1. Fixed now.
  231.  
  232. 25.    Synonym Editor, Aggregate Editor. It was unable to create an object when <Default> scheme was selected because of wrong script generation. Fixed now.
  233.  
  234. 26.    Create Database wizard. If log and data files had the same names when creating a database the log file was not created. Fixed now.
  235.  
  236. 27.    Aggregate Editor.
  237. If parameter doesn't contain '@' symbol it is added automatically now.
  238. Turning 'Max Size' option on disables 'Size' field now.
  239.  
  240. 28.    Fixed the bug with the Code Completion dropdown list which could be partially covered with Windows Taskbar.
  241.  
  242. 29.    On continuous holding F5 button to refresh the objects in DB Explorer they used to double. Fixed now.
  243.  
  244. 30.    Table/Field Editor. Identity seed is now displayed properly for the values bigger than 65536.
  245.  
  246. 31.    Check Editor. 'Check existing data' option is not cleared anymore after compiling current check.
  247.  
  248. 32.    After renaming the object its name was not refreshed in DB Explorer context menu. Fixed now.
  249.  
  250. 33.    For some forms Refresh operation could not be made with F5 button. Fixed now.
  251.  
  252. 34.    Other small improvements and bugfixes.
  253.  
  254.  
  255. Version 2.1.0.1    -    November 16, 2005
  256.  
  257. 1.    Partition functions and partition schemes are now supported.
  258.  
  259. 2.    Added ability to work with linked servers.
  260.  
  261. 3.    German localization is implemented (Michael Albrecht).
  262.  
  263. 4.    Export Data/Import Data Wizard. In Templates drop-down menu "Save Current Settings as Default" and "Reset Saved Settings" options are added.
  264.  
  265. 5.    New editor options added: Trim trailing spaces, Drag and drop text, Group undo, Keep caret horizontal position.
  266.  
  267. 6.    Grid. Large queries were opening very slowly because the switch to Grid Mode Load All Rows was executed after the grid was filled. Fixed now.
  268.  
  269. 7.    Export Data Wizard. Added Finish button that launches Wizard at any moment.
  270.  
  271. 8.    Export as SQL Script and Extract Database gave values of datetime type in the formats predefined in Windows settings, which sometimes caused execution errors. Fixed now.
  272.  
  273. 9.    When creating CLR user-defined data type a correct script is generated now.
  274.  
  275. 10.    Unicode data are now displayed correctly for the system language for non-Unicode programs.
  276.  
  277. 11.    Object Editors. When pressing F5 in the subobjects lists Access Violation error occurred. Fixed now.
  278.  
  279. 12.    Window List. Added Close window action into context menu.
  280.  
  281. 13.    "Don't save query text" option available back in version 1.x of the program is now restored to SQL Editor.
  282.  
  283. 14.    Grid. Adding level bound by several fields caused "Invalid column name" error. Fixed now.
  284.  
  285. 15.    Save Settings. Multi-line keyboard templates were blank when imported from file. Fixed now.
  286.  
  287. 16.    Keyboard Templates. #Date tag gave the wrong date. Fixed now.
  288.  
  289. 17.    Printing now works correctly in Aggregates, DDL Triggers, and Synonyms editors.
  290.  
  291. 18.    Index Editor. Clicking the header of selected fields list returned the Access violation error if the list was empty. Fixed now.
  292.  
  293. 19.    SQL Script is now saved with any content of the editor.
  294.  
  295. 20.    Allow parameters in SQL (Tools tab of Environment Options dialog) for open Query Builder and SQL Editor windows can now be activated.  Also, when running queries asynchronously the values of parameters were not taken. Fixed now.
  296.  
  297.  
  298. Version 2.0.5.1    -    October 26, 2005
  299.  
  300. 1.    When closing the program it gave a number of errors if no other programs were running. The bug is fixed.
  301.  
  302. 2.    Field default values are displayed correctly now when working with SQL Server 2005.
  303.  
  304. 3.    SQL Editor.
  305. -    Text search didn't work when called through editor context menu.
  306. -    Sometimes Limit bar was displayed for grid.
  307. -    Code Completion across databases didn't work by table alias with owner (schema) not specified.
  308. -    Code Completion by table aliases didn't work after 10-15 table lines down the text.
  309. -    When adding new tab and trying to delete a row, Access Violation error emerged.
  310.     The bugs are fixed.
  311.  
  312. 4.    Database Registration Info. Display Options weren't saved after closing/starting the program. Fixed now.
  313.  
  314. 5.    Now the size of stored procedure and UDF parameters is shown correctly.
  315.  
  316. 6.    SQL Script. Access Violation error arose when opening Code Completion if there were no connected databases. The bug is fixed.
  317.  
  318. 7.    DB Explorer. Now the parameter information of some stored procedures types is displayed correctly in SQL Assistant.
  319.  
  320. 8.    Grid. Filtering by value that had an apostrophe (') character wasn't functioning. Fixed now.
  321.  
  322.  
  323. Version 2.0.0.1    -    October 14, 2005
  324.  
  325. Latest SQL Server versions support
  326.  
  327. Full compatibility with any SQL Server version from 7 to 2005.
  328. Full support of SQL Server 2005 permission system.
  329. DDL Triggers, Synonyms and Aggregates support.
  330. Typed XML columns.
  331.  
  332. Significantly improved user interface
  333.  
  334. New well-described Wizard System to perform complex tasks easily.
  335. Fast accessing to most essential actions using Navigation bars in most of the windows.
  336. New Windows Toolbar to switch between windows easily, like Windows Task Bar.
  337. Office 11 and Windows XP visual schemes support.
  338.  
  339. Improved Database Explorer
  340.  
  341. Creating tabs for any tree node to access it in one-click!
  342. Work with multiple selected objects at a time.
  343. Much more convenient toolbar and context menu.
  344.  
  345. New powerful tools to perform SQL Server administrative tasks
  346.  
  347. Server and database properties windows.
  348. DTS Packages management tool.
  349.  
  350. Visual Database Designer to handle database structure in a few clicks
  351.  
  352. Creating diagram of existing database using Reverse engineering tool.
  353. Dividing diagram into different subject areas located on separate pages.
  354. Navigating through diagram using preview navigation tool.
  355. Creating/editing/dropping tables and table fields visually setting links between them.
  356. Saving as image or printing database diagram.
  357. Two diagram notations (IDEF1x and IE).
  358. A lot of visual customization options.
  359.  
  360. New powerful data management tools
  361.  
  362. Plenty of useful tools such as data grouping, summarizing, fast searching and filtering.
  363. Master-Detail View to work with two linked tables at the same time.
  364. Table and Card Views to see data the way you like.
  365. Ability to copy and paste selected records.
  366. Advanced printing system.
  367. Fully customizable interface.
  368.  
  369. Improved report management
  370.  
  371. New Create Report Wizard allows you to create simple report in a few clicks.
  372. Managing reports the same way as if they were a database object: accessing reports directly through DB Explorer tree.
  373.  
  374.  
  375.  
  376. Version 1.8.5.1    -    June 27, 2005
  377.  
  378. 1.    Support of SQL Server 2005.
  379.  
  380. 2.    When error arose in SQL Editor or Changing Metadata window the cursor is placed to the proper place.
  381.  
  382. 3.    Create Table. We have improved editing abilities in the fields' grid.
  383.  
  384. 4.    Editor Options. Implemented 'Convert Tab character to spaces' option.
  385.  
  386. 5.    SQL Editor. Implemented 'Don't save query text' option.
  387.  
  388. 6.    SQL Editor. Appeared ability to reset current execution point û added the corresponding item in context menu.
  389.  
  390. 7.    Table Editor. Confirmation request wasn't shown when deleting table subobjects even if the corresponding option was on.
  391.  
  392. 8.    Query Builder. WHERE part was parsed incorrectly if there were several IN operators û the list was duplicated.
  393.  
  394. 9.    Timeouts didn't work in SQL Script.
  395.  
  396. 10.    Sometimes when disconnecting from a database, its objects refreshed if viewing table subobjects was off.
  397.  
  398. 11.    Grid. Time value wasn't shown when trying to enter edit mode for datetime fields.
  399.  
  400. 12.    When trying to open a procedure with number (e.g. proc;1) arose an error saying that the procedure was not found in the database.
  401.  
  402. 13.    The program hanged when using keyboard templates if Windows clipboard had # (hash) symbol.
  403.  
  404. 14.    To-Do List. Fixed the bug with a second copy of an item appeared when editing it.
  405.  
  406. 15.    Table Editor, Dependency tab. Tables with foreign keys referring to the opened table weren't shown in the dependent objects list.
  407.  
  408. 16.    If Clustered checkbox was off when creating an index, the keyword NONCLUSTERED wasn't added to script, which led to creating clustered primary key even if this option was off.
  409.  
  410. 17.    Shortcuts for tabs didn't work. Now it is solved.
  411.  
  412. 18.    Solved the problem with not restoring the state of the main form's window when running the program.
  413.  
  414. 19.    It was impossible to edit fields having point (.) or 'on' word in their name.
  415.  
  416. 20.    Code Completion didn't work with table aliases which had dollar sign ($) in their name, e.g. "TableName$".
  417.  
  418. 21.    Editor Options. Decreased minimum possible value for Quick Code delay.
  419.  
  420.  
  421. Version 1.8.0.1    -    December 14, 2004
  422.  
  423. 1.    We have implemented the ability to autogenerate names for the table's subobjects on their creating. You can customize the name templates or disable this option on the Naming Rules tab of the Environment Options dialog.
  424.  
  425. 2.    Extract Metadata. Changed the sequence of some operator types to register possible dependencies between objects. Included support for identity and calculated fields. Added ability to generate IF EXISTS... DROP statements.
  426.  
  427. 3.    SQL Editor. Now it is possible to view the query results on the same tab with the query text.
  428.  
  429. 4.    There is the new ability to disable showing the Changing Metadata window using the corresponding option in Confirmations tab of Environment Options dialog.
  430.  
  431. 5.    Query Builder. Access Violation error emerged when adding a criterion and closing a form. The bug is fixed.
  432.  
  433. 6.    Table Data. The error  'DataD: Cannot perform this operation on a closed dataset' doesn't appear anymore.
  434.  
  435. 7.    On creating unique index you can now select whether to create an index or a constraint.
  436.  
  437. 8.    Grid. Added the ability to set format for the money fields in the Environment Options dialog on the Grid tab.
  438.  
  439. 9.    Table Data. Fixed the bug with not saving the Grid layout.
  440.  
  441. 10.    'Make hidden Table Explorer visible on new table window' option is substituted for 'Hide Table Explorer'. A new button is added in the toolbar of Table editor to show/hide the explorer.
  442.  
  443. 11.    If the field was indexed, you couldn't change its type or NOT NULL constraint - the script error arose. The problem is solved.
  444.  
  445. 12.    Extract Metadata & Export As Insert. When extracting BLOB data the final bytes with 0x00 value were cut. Fixed now.
  446.  
  447. 13.    Export Data wizard. When the 'Current record only' option was selected the cursor jumped to the first record and the first record was exported. The problem is solved.
  448.  
  449. 14.    When running the program you couldn't shut down Windows. The bug is fixed.
  450.  
  451. 15.    Print Metadata. Fixed the bug with not filling out the Primary Key and Unique columns of table fields.
  452.  
  453. 16.    Now the Help \ 'Send bug report to' menu item is passed to our Support Ticket System.
  454.  
  455. 17.    The 'Class TSynEdit not found' error arose when trying to open the localization form. Fixed now.
  456.  
  457.  
  458. Version 1.7.0.1    -    September 09, 2004
  459.  
  460. 1.    We have implemented a new form for creating tables. Now it allows you to define all the table fields before table creation.
  461.  
  462. 2.    Import Wizard: We have added an ability of defining an error log file name.
  463.  
  464. 3.    Backup/Restore. While working with large databases, operation was canceled by timeout in 30 seconds. Problem is solved.
  465.  
  466. 4.    Code Completion.
  467. Processor loading was raised after the window "code completion" had been opened in non-default localization. Fixed now.
  468. It bounced back to the top of the list after you started typing. The problem is solved.
  469. The view isn't canceled in case the space is entered or the cursor is moved after typing a letter or number.The bug is fixed.
  470. The problem with re-opening code completion window after inserting the word is solved
  471.  
  472. 5.    Export As Insert: in float fields dot is used as a fractional part separator now.
  473.  
  474. 6.    The bug that caused only tree-choice of backup filename in case of using non-logical device is fixed now.
  475.  
  476. 7.    The wrong script was generated when Nou Null field with Unique limit and without default value had been added. Problem is solved.
  477.  
  478. 8.    After the field with unique non-constrained index had been changed, the wrong script was generated. The bug is fixed.
  479.  
  480. 9.    Available permissions were defined wrong for UDF. Problem is solved.
  481.  
  482. 10.    Edit login. The password can't be cleared. Fixed now.
  483.  
  484. 11.    Delete confirmation is requested now when deleting query pages.
  485.  
  486. 12.    Integer field changes (if field was not in edit mode) weren't correctly saved. Problem is solved.
  487.  
  488. 13.    The font size changes in Environment Options weren't spread at menu and toolbar. The bug is fixed.
  489.  
  490. 14.    The error "RecordIndex out of range" appearing when editing database file list is corrected now.
  491.  
  492. 15.    The Row Guid flag can't be changed for fields with type "uniqueidentifier". Fixed now.
  493.  
  494. 16.    Sometimes after upgrade to a new product version the language settings can be changed. Problem is solved.
  495.  
  496. 17.    Export to XML. If table field names contained spaces, the summary-file wouldn't open. The bug is fixed.
  497.  
  498. 18.    Changing metadata window: now the editor font is determined by the database properties instead of the previous default.
  499.  
  500.  
  501. Version 1.6.0.1    -    May 31, 2004
  502.  
  503. 1.    We have significantly improved the Export Dialog. Now you can add notes, hyperlinks, and charts based on exported data to Excel documents. You can also define graphical styles for column captions, data, footer, and header on export to RTF documents. An ability to define strip styles is also included.
  504.  
  505. 2.    We have significantly improved the Import Data Wizard to make most of new abilities of EMS QuickImport 2 component suite available in MS SQL Manager:
  506. Import from XML format is available now.
  507. An ability to import data from different Excel sheets is implemented.
  508. An ability to import formulas from Excel is added.
  509.  
  510. 3.    We have implemented a new service - Backup Devices Manager. You can access this new service via the Services menu.
  511.  
  512. 4.    SQL Editor: Now you can use the Shift+Ctrl+Spacebar key combination to view function parameters after you entered a function name in your code. The Shift+Ctrl+P key combination can be used to insert names of the function parameters into your code.
  513.  
  514. 5.    Duplicate Table: With this version you can copy the table data along with the table structure.
  515.  
  516. 6.    We have added a new localization - Chinese (Simplified).
  517.  
  518. 7.    The Database Metadata Log now contains only records that are executed completely and not rolled back.
  519.  
  520. 8.    The Database SQL Editor Log now contains only statements that are executed successfully. You can disable this feature using the corresponding option on the SQL Editor tab of the Environment Options dialog.
  521.  
  522. 9.    Now the program correctly shows all the objects on the Dependencies tab.
  523.  
  524. 10.    If the table contained a calculated field with more than 4000-char length, then the 'List index is out of bounds' error appeared. We have fixed it.
  525.  
  526. 11.    Form View: NULL values of date fields were displayed as 30.12.1899.
  527.  
  528.  
  529.  
  530.  
  531. .topic 810
  532.  
  533. Please read this page attentively if you have questions about EMS SQL Manager 2005 for SQL Server.
  534.  
  535. Table of contents
  536.  
  537. Product Questions
  538. What is EMS SQL Manager for SQL Server?
  539. What is the difference between Professional/Lite and Windows/Linux editions of EMS SQL Manager for SQL Server?
  540. What do I need to start working with EMS SQL Manager for SQL Server?
  541. What is the difference between the Export/Import functions in the SQL Manager for SQL Server tool and the Data Export/Import for SQL Server utilities?
  542. What is the difference between the Query Builder module in the SQL Manager for SQL Server tool and the SQL Query for SQL Server utility?
  543. What is the difference between the Extract Metadata function in SQL Manager for SQL Server and the DB Extract for SQL Server utility?
  544.  
  545. Common Questions
  546. I can't modify DDL. Why?
  547. How can I customize data formats in a grid?
  548. When I create database objects, their names are always converted to lower case. How I can prevent it?
  549. I am trying to create a report in Report Designer, but can't get access to the table data: 'Band data source' list is empty.
  550. I have a table with ~ 1000 records only and a large number of fields. Opening this table on Data tab takes too much time.
  551. I need to perform some changes in database objects of my test database and then make the same changes on master database. Are there any tools for this purpose in SQL Manager for SQL Server?
  552.  
  553. Export/Import Questions
  554. I tried to export data from a table, but found that I can export only the first 1000 records. Can I export all the records from a table if it contains more than 1000 records?
  555. I'm trying to export table, but LONGTEXT fields are not exported.
  556. What is the difference between the "Extract Metadata" and "Export As Insert" functions?
  557. How do I change the default directory where exported data will be saved?
  558.  
  559. Question list
  560.  
  561. Product Questions
  562. Q: What is EMS SQL Manager for SQL Server?
  563. A: EMS SQL Manager 2005 for SQL Server is a powerful tool for Microsoft« SQL Server administration and development. SQL Manager 2005 for SQL Server works with any SQL Serverversions from 7 to 2005 and supports all of the latest features including assembiles, DDL triggers, synonyms, typed XML columns, and so on. It offers plenty of powerful tools for experienced users to satisfy all their needs. SQL Manager 2005 for SQL Server has a new state-of-the-art graphical user interface with well-described wizard system, so clear in use that even a newbie will not be confused with it.
  564.  
  565.  
  566. Q: What is the difference between Professional/Lite and Windows/Linux editions of EMS SQL Manager for SQL Server?
  567. A: These editions of SQL Manager for SQL Server differ in price and features. To register SQL Manager for SQL Server see our Purchase Page, and to learn about the difference in features please go to our Feature Matrix Page.
  568.  
  569. Q: What do I need to start working with EMS SQL Manager for SQL Server?
  570. A: First of all you must have a possibility to connect to some local or remote SQL Server to work with SQL Manager for SQL Server. Besides you need your computer to satisfy the system requirements of SQL Manager for SQL Server. SQL Manager for SQL Server runs on Windows 95/98/Me/NT4/2000/XP and Pentium 166, 32 Mb RAM is recommended.
  571.  
  572. Q: What is the difference between the Export/Import functions in the SQL Manager for SQL Server tool and the Data Export/Import for SQL Server utilities?
  573. A: The Data Export/Import for SQL Server utilities includes some additional features, which are not available in SQL Manager such as:
  574. export/import data from/to several tables at once;
  575. export/import data from/to tables selected from different databases on one host;
  576. command line utility to export/import data using the configuration file with all the export/import options.
  577.  
  578. Q: What is the difference between the Query Builder module in the SQL Manager for SQL Server tool and the SQL Query for SQL Server utility?
  579. A: First of all, SQL Query works faster as it is a much lighter product. Besides it provides additional features for query building, e.g.:
  580. "favorite" queries to find and execute often-used queries quickly;
  581. keeping query history, which allows you to rollback to any edited query;
  582. various interface improvements for more productive and easy work;
  583.  
  584. Q: What is the difference between the Extract Metadata function in SQL Manager for SQL Server and the DB Extract for SQL Server utility?
  585. A: The DB Extract utility includes some additional features, which are not available in SQL Manager, such as:
  586. extracting metadata from several databases on one host;
  587. console application for executing extract in one-touch;
  588. faster execution speed;
  589.  
  590. Scroll to top
  591.  
  592. Common Questions
  593. Q: I can't modify DDL. Why?
  594. A: The 'DDL' tabs of the Table Editor and UDF Editor are read-only. They display the SQL text of the operations you carry over the table on the tabs 'Fields', 'Indices', etc, or over the UDF. To modify this text you can copy it to the clipboard and modify it using SQL Script Editor.
  595.  
  596. Q: When I create database objects, their names are always converted to lower case. How I can prevent it??
  597. A: You need to switch off the "Convert created object's names to lower case" option in Environment Options dialog.
  598.  
  599. Q: How can I customize data formats in a grid?
  600. A: You can customize all display formats: integer, float, date, time and date/time in the Environment Options window.
  601.  
  602. Q: I am trying to create a report in Report Designer, but can't get access to the table data: 'Band data source' list is empty.
  603. A: To get data source in a report you need to add a dialog form to the report (menu 'Edit' \ 'Add dialog form' of Report Designer), then place database and query components from the left designer panel on it and set connection and query properties. Then the query appears in data source lists.
  604.  
  605. Q: I have a table with ~ 1000 records only and a large number of fields. Opening this table on Data tab takes too much time.
  606. A: Please select the option 'Initiate a row-by-row result set retrieval' on 'Grid' \ 'Advanced' tab of Environment Options dialog.
  607.  
  608. Q: I need to perform some changes in database objects of my test database and then make the same changes on master database. Are there any tools for this purpose in SQL Manager for SQL Server?
  609. A: Database Registration Info dialog contains Log tab where you can enable logging metadata changes, which are performed on a database, and SQL statements, that are executed in SQL Editor.
  610.  
  611. Scroll to top
  612.  
  613. Export/Import Questions
  614. Q: I tried to export data from a table, but found that I can export only the first 1000 records. Can I export all the records from a table if it contains more than 1000 records?
  615. A: The Export Data function exports only records those are currently selected in the grid view. The selection is limited by 1000 by default, so you should increase this value to select all the records to be able to export them all. Also you can set the default limit value on the Grid tab of the Environment Options dialog.
  616.  
  617. Q: I'm trying to export table, but LONGTEXT fields are not exported.
  618. A: Fields of types TEXT, LONGTEXT are not exported by default. You should select these fields manually on the Fields tab.
  619.  
  620. Q: What is the difference between the "Extract Metadata" and "Export As Insert" functions?
  621. A: "Export As Insert" is intended to export table data that will be inserted into a database system other than PostgreSQL server. Use "Extract Metadata" to copy data to a table on PostgreSQL server.
  622.  
  623. Q: How do I change the default directory where exported data will be saved?
  624. A: Follow the steps below to change directory.
  625. 1.    Right click on database you need in DB Explorer and click on "Database Registration Info..." item in popup menu (you can also find out this item in main menu "Database"). The Database Properties form will be opened.
  626. 2.    Click on the "Save Options" tab.
  627. 3.    In the "Default Directory for Export Data" section you can choose the default directory for export file.
  628.  
  629. Scroll to top
  630.  
  631. If you still have any questions, contact us at Support Center.
  632.  
  633. .topic 60
  634. Database Explorer (or DB Explorer) is the basic navigation window for working with databases and database objects. Its treelike structure with multiple tabs allows you to perform almost all operations upon the databases and their objects quickly and easily. The following list contains the most common features provided by the Database Explorer.
  635.  
  636. Managing database registration info
  637. Connecting to a database
  638. Performing basic operations upon database objects
  639. Creating projects to work with selected objects only
  640. Navigating database objects using multiple tabs
  641. Selecting multiple objects
  642. Easy access to recently opened objects
  643. Viewing information about database objects
  644. Configuring Database Explorer
  645.  
  646. To view or hide this window use the View | DB Explorer menu item or press F11.
  647.  
  648.  
  649.  
  650. .topic 90
  651. Database Explorer allows you to perform the following operations related with registering databases from its popup menu:
  652.  
  653. Register database
  654. Unregister database
  655. Edit database registration info
  656.  
  657.  
  658.  
  659.  
  660.  
  661. .topic 100
  662. Use Projects node in each database to work with the selected objects of this database only. You can place here any object from the database tree.
  663.  
  664. Creating project
  665.  
  666. To create a project:
  667.  
  668. Create a folder (and maybe some subfolders) by right-clicking the Projects node and selecting the New Folder menu item.
  669. Specify the new object name in the dialog window.
  670.  
  671. To add an object to the project:
  672.  
  673. Drag the object(s) from the database tree and drop it to the project folder.
  674.  
  675. Note: You can also create separate tab for your project. See Creating new tab section.
  676.  
  677.  
  678. Removing object from project
  679.  
  680. To remove an object from the project:
  681.  
  682. Right-click the object and select the Remove Object menu item.
  683. Confirm removing in the dialog window
  684.  
  685. Note: This does not drop the object out of database, but only removes it from the project tree.
  686.  
  687.  
  688.  
  689.  
  690. .topic 117
  691. Use Recent Objects button on the Database Explorer toolbar to access the list of recently opened database objects (during the current work session). This list is common for all the databases. Next to the object name the database name is displayed. Select the object from this list to open it with the editor.
  692.  
  693. To change the number of objects, considered 'recent' select the Options | Environment Options menu item and set the Recent objects count option value on the Tools | DB Explorer page (see Environment Options for details).
  694.  
  695.  
  696.  
  697.  
  698. .topic 790
  699. This area helps you to work with the DB Explorer window, displaying the additional information about the selected object or group of objects.
  700.  
  701. If you select a server in the DB Explorer, the SQL Assistant displays the list of the registered databases, where those you are connected to, are displayed in bold. Double-clicking the database alias in the SQL Assistant connects you to the database or disconnects you from it.
  702.  
  703. If you select a database in the DB Explorer, the SQL Assistant displays the list of the database object groups and a number of objects for each group. Selecting an object group in the DB Explorer displays the list of objects in the SQL Assistant. Double-clicking the object name in the SQL Assistant makes the object available for editing in the proper editor window. Right-clicking the object or group of objects (selected with the Ctrl or Shift buttons) allows you to edit or drop the selected objects.
  704.  
  705. What is displayed in SQL Assistant when a table is selected in DB Explorer depends on the position of the Tables' Details switch. It can be called via the View Mode button | Tables' Details menu on the toolbar or via the popup menu of the SQL Assistant.
  706.  
  707. Selecting another objects in the DB Explorer displays its DDL definition or description in the SQL Assistant depending on position of the Other Objects' Details switch. It can be called via the View Mode button | Other Objects' Details menu on the toolbar or via the popup menu of the SQL Assistant.
  708.  
  709.  
  710.  
  711.  
  712. .topic 5
  713. SQL Manager 2005 for SQL Server provides all the tools you need to manage and navigate databases. Note that to start working with databases in SQL Manager 2005 for SQL Server you are to register them (see Register Database Wizard).
  714.  
  715. Create Database
  716.  
  717. To create a database
  718.  
  719. Select the Database | Create Database menu item.
  720. Set the database name, connection and authorization options in the Create Database Wizard.
  721. Set option Register After Creating to call the Register Database Wizard after the creation finishes.
  722.  
  723. Drop Database
  724.  
  725. To drop a database
  726.  
  727. Select the database to drop in the DB Explorer tree.
  728. If you are not connected to any database on the server, double-click its alias to establish connection.
  729. Select the Database | Drop Database menu item.
  730. Confirm dropping in the dialog window.
  731.  
  732. Register Database
  733.  
  734. To register a single database in SQL Manager 2005 for SQL Server
  735.  
  736. Select the Database | Register Database menu item.
  737. Set connection, authorization and other options in the Register Database Wizard.
  738.  
  739. To register multiple databases on one host
  740.  
  741. Select the Database | Register Host menu item.
  742. Set connection and authorization options, and select the databases to register in the Register Host Wizard.
  743.  
  744. Unregister Database
  745.  
  746. To unregister a single database
  747.  
  748. Select the database to unregister in the DB Explorer tree.
  749. Select the Database | Unregister Database menu item.
  750. Confirm unregistering in the dialog window.
  751.  
  752. To unregister all databases on the host
  753.  
  754. Select the host to unregister or a database on this host in the DB Explorer tree.
  755. Select the Database | Unregister Host menu item.
  756. Confirm unregistering in the dialog window.
  757.         
  758. Connect to Database
  759.  
  760. To connect to a database
  761.  
  762. Select the database to connect to in the DB Explorer tree.
  763.  
  764. Double click its alias.
  765. or
  766. Select the Database | Connect to Database menu item.
  767.  
  768. Disconnect from Database
  769.  
  770. To disconnect from a database
  771.  
  772. Select the database to disconnect from or any of its objects in the DB Explorer.
  773. Select the Database | Disconnect from Database menu item.
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817. .topic 10
  818. The Create Database Wizard guides you through the process of creating a new database. To open the wizard select the Database | Create Database... menu item or click the Create Database button on the toolbar.
  819.  
  820. Setting the name for a new database
  821. Setting database connection properties
  822. Defining database files
  823. Defining transaction log files
  824. Viewing the result SQL statement
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833. .topic 750
  834. The Register Host Wizard allows you to register several databases from one host. To open the wizard select the Database | Register Host... menu item, or press Shift+Ctrl+R. You can also use the Register Host button on the main toolbar.
  835.  
  836. Setting connection properties
  837. Selecting databases
  838. Setting registration options
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846. .topic 57
  847. The New Object Dialog allows you to select an object type for creating and run the appropriate wizard or dialog. To open the dialog select the Database | New Object... menu item.
  848.  
  849.  
  850. Select a database, where the new object should be created, from the Database dropdown list. Pick an object type icon and click the OK button to invoke the corresponding wizard or dialog.
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859. .topic 170
  860. Relational databases store all their data in tables. A table is a data structure consisting of an unordered set of horizontal rows, each containing the same number of vertical columns. The intersection of an individual row and column is a field that contains a specific piece of information. Much of the power of relational databases comes from defining the relations among the tables.
  861.  
  862.  
  863. Create table
  864.  
  865. To create a new table:
  866.  
  867. Select the Database | New Object menu item.
  868. Select Table in the New Object window.
  869. Edit table properties and fields on the appropriate tabs of the New Table window.
  870.  
  871. Hint: To create new table you can also right-click the Tables node of the explorer tree and select the New Table... item from the popup menu.
  872.  
  873. To create a new table with the same properties as one of the existing tables has:
  874.  
  875. Select the Database | Duplicate Object menu item.
  876. Follow the instructions of the Duplicate Object Wizard.
  877.  
  878. The Duplicate Object window allows you to select the database to create the new table in and to edit the result SQL statement for creating the table.
  879.  
  880. Edit table
  881.  
  882. To edit the existing table (manage its fields, indices, data, etc):
  883.  
  884. Select the table for editing in the explorer tree (type the first letters of the table name for quick search).
  885. Right-click and select the Edit Table <Table_Name> item in the popup menu or simply double-click the table.
  886. Edit table subobjects and data on the appropriate tabs of the Table Editor.
  887.  
  888. To change the name of the table:
  889.  
  890. Select the table for editing in the explorer tree.
  891. Right-click and select the Rename Table <Table_Name> item from the popup menu.
  892. Edit table name in the dialog window.
  893.  
  894. Drop table
  895.  
  896. To drop a table:
  897.  
  898. Select the table for editing in the explorer tree.
  899. Right-click and select the Drop Table <Table_Name> item from the popup menu.
  900. Confirm dropping in the dialog window.
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947. .topic 207
  948. Table Editor is the basic SQL Manager 2005 for SQL Server tool for working with tables. It allows you to create, edit and drop table's fields, indexes, foreign keys, and other table subobjects, manage table data, and much more.
  949.  
  950. To open a table in the Table Editor, just double-click it in the Explorer Tree (see Edit Table for details).
  951.  
  952. Using navigation bar
  953. Managing table fields
  954. Changing fields order
  955. Managing table foreign keys
  956. Managing table checks
  957. Managing table indexes
  958. Managing table triggers
  959. Browsing object dependencies
  960. Viewing table data
  961. Editing table description
  962. Viewing DDL definition
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972. .topic 120
  973. Assembly is a managed application module containing class metadata and managed code as an object in SQL Server, against which CLR functions, stored procedures, triggers, user-defined aggregates, and user-defined types can be created in SQL Server.
  974.  
  975.  
  976. Create assembly
  977.  
  978. To create a new assembly:
  979.  
  980. Select the Database | New Object... menu item.
  981. Select Assembly in the New Object dialog.
  982. Edit assembly definition within the Assembly Editor.
  983.  
  984. Hint: To create new assembly you can also right-click the Assemblies node of the explorer tree and select the New Assembly... item from the popup menu.
  985.  
  986. To create a new assembly with the same properties as one of the existing assemblies has:
  987.  
  988. Select the Database | Duplicate Object... menu item.
  989. Follow the instructions of the Duplicate Object Wizard.
  990.  
  991.  
  992. Edit assembly
  993.  
  994. To edit the existing assembly:
  995.     
  996. Select the assembly for editing in the explorer tree (type the first letters of the assembly name for quick search).
  997. Right-click and select the Edit Assembly <Assembly_Name> item from the popup menu or simply double-click the assembly.
  998. Edit assembly definition and data on the appropriate tabs of the Assembly Editor.
  999.  
  1000. To change the name of the assembly:
  1001.  
  1002. Select the assembly to rename in the explorer tree.
  1003. Right-click and select the Rename Assembly <Assembly_Name> item from the popup menu.
  1004. Edit assembly name in the dialog window.
  1005.  
  1006.  
  1007. Drop assembly
  1008.  
  1009. To drop a assembly:
  1010.  
  1011. Select the assembly to drop in the explorer tree.
  1012. Right-click and select the Drop Assembly <Assembly_Name> item from the popup menu.
  1013. Confirm dropping in the dialog window.
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058. .topic 930
  1059. SQL Manager 2005 for SQL Server provides two powerful tools for working with the SQL queries: SQL Editor for editing the query text directly and Visual Query Builder for building queries visually.
  1060.  
  1061. Creating a new Query
  1062.  
  1063. To create a new query in SQL Editor:
  1064.  
  1065. Select Tools | New SQL Editor menu item.
  1066. Click Add new query button on the toolbar.
  1067. Edit the query text on the Edit tab of the SQL Editor.
  1068.  
  1069. To create a new query in Query Builder:
  1070.  
  1071. Select Tools | New Query Builder menu item.
  1072. Build the query on the Builder tab of Visual Query Builder.
  1073.  
  1074. Editing Query
  1075.  
  1076. To open a query in SQL Editor:
  1077.  
  1078. Select Tools | Show SQL Editor menu item.
  1079. Use the number buttons at the bottom of the area to find one of the previously edited queries. The last edited query is displayed automatically on opening the editor.
  1080. To load a query from an *.sql file click Load from file button at the navigation bar.
  1081.  
  1082. To open a query in Query Builder:
  1083.  
  1084. Select Tools | Show Query Builder menu item.
  1085. The last edited query is displayed on the Builder tab.
  1086. To load a previously saved diagram click Load Diagram item at the navigation bar.
  1087. To load a query from an *.sql file, open the Editor tab and click Load from file button at the navigation bar.
  1088.  
  1089. Executing Query
  1090.  
  1091. To execute a query:
  1092.  
  1093. Create a new query or open the existing one.
  1094. Click Execute query button on the toolbar of SQL Editor or Visual Query Builder respectively.
  1095. View/edit the returned data on the Results tab.
  1096.  
  1097. Saving Query
  1098.  
  1099. To save a query:
  1100.  
  1101. Create a new query or open the existing one.
  1102. Click Save to file item at the navigation bar of SQL Editor or Save query item at the Editor tab of Visual Query Builder respectively to save the current query to *.sql file.
  1103. Click Save diagram item at the navigation bar of the Builder tab of Visual Query Builder to save the designed diagram.
  1104. Click Save All button on SQL Editor toolbar to save all the opened queries to one file.
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141. .topic 265
  1142. SQL Editor is the basic SQL Manager 2005 for SQL Server tool for creating and executing queries. It allows you to create and edit SQL text for a query, prepare and execute queries and view the results of execution.
  1143. To open SQL Editor select Tools | Show SQL Editor / Tools | New SQL Editor menu item or press F12 / Shift + F12.
  1144.  
  1145. Using navigation bar
  1146. Viewing query plan
  1147. Working with editor area
  1148. Using object links
  1149. Using popup menu
  1150. Executing query and viewing results
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158. .topic 287
  1159. Visual Query Builder is provided for building queries visually. It allows you to create and edit queries without knowledge of SQL, prepare and execute queries, and view the results of execution.
  1160. To open Visual Query Builder, select Tools | New Query Builder or Tools | Show Query Builder menu item.
  1161.  
  1162. Using navigation bar
  1163. Working with diagram area
  1164. Joining two database objects by fields
  1165. Setting the selection criteria
  1166. Setting output fields for selection
  1167. Setting the grouping criteria
  1168. Setting parameters of sorting
  1169. Working with editor area
  1170. Executing query and viewing results
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179. .topic 940
  1180. Table data and query results are displayed on the Data or Results tab of Table Editor, SQL Editor, Visual Query Builder, etc.
  1181.  
  1182. The data can be displayed in three modes: Grid View, Form View and Print Data. See Data View to learn more about these modes.
  1183.  
  1184. The toolbars of these tabs as well as the popup menus (activated by right-click on the grid) provide the following functions for managing data:
  1185.  
  1186. Export Data
  1187. Exports data to various formats, including MS Excel, MS Access, RTF, HTML, PDF and more.
  1188.  
  1189. Export As SQL Script
  1190. Exports data to the SQL script as a number of INSERT statements.
  1191.  
  1192. Import Data
  1193. Imports data from MS Excel, MS Access, DBF, TXT, and CSV.
  1194.  
  1195. Edit BLOB
  1196. Allows you to view and edit the content of BLOB and TEXT fields.
  1197.  
  1198. .topic 590
  1199. SQL Manager 2005 for SQL Server provides you with powerful tools for viewing, editing and printing data from tables and queries. This topic shows how you can work with data in the simplest and the most direct way.
  1200.  
  1201. Grid View
  1202. Form View
  1203. Print Data
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212. .topic 650
  1213. SQL Manager 2005 for SQL Server provides BLOB Viewer/Editor to view and edit BLOB fields content. The BLOB Viewer/Editor can be invoked from the data grid within Table Editor, SQL Editor, Visual Query Builder, etc.
  1214.  
  1215. Navigating within the BLOB Viewer/Editor
  1216. Viewing/Editing BLOB field as hexadecimal dump
  1217. Viewing/Editing BLOB field as plain text
  1218. Viewing/Editing BLOB field as rich text (RTF)
  1219. Viewing/Editing BLOB field as graphical image
  1220. Viewing/Editing BLOB field as HTML
  1221. Applying changed to data
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230. .topic 620
  1231. Export Data Dialog allows you to export data from table, view, procedure or query result to any available format. You can save your settings as a template at any time for later use.
  1232.  
  1233. To call the wizard right-click the table (view, procedure, etc.) in DB Explorer, select Data Manipulatiton and corresponding operation then. Another way is to select Data tab of Table Editor/View Editor, then corresponding menu item of the Data Management bar (navigation bar) or simply use context menu of the Grid -> Data Manipulation.
  1234.  
  1235. Setting name and format for destination file
  1236. Selecting fields for export
  1237. Adjusting formats applied to exported data
  1238. Setting header and footer text for destination file
  1239. Setting options according to the selected format
  1240. Setting common export options
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249. .topic 640
  1250. Import Data Wizard allows you to import data to a table from MS Excel, MS Access, DBF, TXT or CSV file.
  1251.  
  1252. Setting source file name and format
  1253. Selecting source object for import data from
  1254. Setting the correspondence between the source and target fields
  1255. Adjusting common data formats
  1256. Setting advanced field formats
  1257. Setting import mode and data write type
  1258. Customizing common import options
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267. .topic 630
  1268. Export as SQL Script Wizard allows you to export data from a table or a query result to SQL script as a number of INSERT statements.
  1269.  
  1270. To export data as INSERT from a table or a query:
  1271.  
  1272. open the table in Table Editor or open and execute query in SQL Editor or Query Builder;
  1273. open Data or Result tab respectively;
  1274. click Export as SQL Script item on the navigation bar.
  1275.  
  1276.  
  1277. Setting destination file name for the script
  1278. Selecting field to export
  1279. Editing result create statement
  1280. Specifying export options
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291. .topic 720
  1292. BULK INSERT (Transact-SQL) loads a data file into a database table or view in a user-specified format. This statement copies data from a file to a table, appending the records to already existing data in the table. The file must be accessible to the server and the filename must be specified from the point of view of the server.
  1293.  
  1294.  
  1295. The Bulk Insert Wizard guides you through the bulk insert process.
  1296.  
  1297. To insert data to a table:
  1298.  
  1299. open the table in the Table Editor;
  1300. click the Bulk insert item on the Data Management bar.
  1301.  
  1302. or
  1303.  
  1304. click right mouse button on a table name
  1305. select Data Manipulation
  1306. click the Bulk Insert... item
  1307.  
  1308.  
  1309. Selecting data file and name of the table or view
  1310. Specifying bulk insert options
  1311. Selecting data file format
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320. .topic 260
  1321. SQL Manager 2005 for SQL Server provides a number of powerful tools for working with the databases.
  1322.  
  1323. The following tools are available:
  1324.  
  1325. Dependency Tree
  1326. Allows you to view all the object dependencies in a one diagram.
  1327.  
  1328. Visual Database Designer
  1329. Allows you to lay out your database schema visually.
  1330.  
  1331. SQL Monitor
  1332. Displays all the SQL statements executed while working in SQL Manager 2005 for SQL Server.
  1333.  
  1334. SQL Script Editor
  1335. Executes SQL scripts to the database.
  1336.  
  1337. Extract Database Wizard
  1338. Extracts the table metadata to the SQL script, which can be later executed on another machine to reserve the database structure.
  1339.  
  1340. Print Metadata
  1341. Creates powerful metadata reports in the WYSIWYG mode, ready for printing.
  1342.  
  1343. HTML Report
  1344. Creates powerful metadata reports in the HTML format.
  1345.  
  1346. Report Designer
  1347. Allows you to build and print database reports
  1348.  
  1349.  
  1350.  
  1351. .topic 960
  1352. Visual Database Designer is provided for designing your database visually. It allows you to create, edit and drop tables and table fields, set links between tables, and so on.
  1353.  
  1354. To open the designer select the Tools | Visual Database Designer menu item.
  1355.  
  1356. Using navigation bar
  1357. Navigating on diagram
  1358. Adding objects to diagram
  1359. Removing objects from diagram
  1360. New object creation
  1361. Creating relationships
  1362. Working with multiple pages
  1363. Reverse engineering
  1364. Printing diagram
  1365. Saving/Loading diagram
  1366. Setting diagram options
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375. .topic 380
  1376. Using SQL Script Editor, you can view, edit and execute SQL scripts. To open SQL Script Editor select the Tools | SQL Script menu item.
  1377.  
  1378. In the script area you can view and edit the SQL script text. For your convenience syntax highlight and code completion is enabled.
  1379.  
  1380. Using navigation bar
  1381. Using popup menu
  1382. Using script explorer
  1383.  
  1384. Note: SQL Script Editor doesn't show SELECT query results. Please use SQL Editor for that purpose instead.
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. .topic 390
  1391. Using the Extract Database Wizard you can extract database objects and data to the SQL script, e.g. for backup purposes. To open this wizard, select the Tools | Extract Database menu item.
  1392.  
  1393. Use the Templates... button to save the wizard configuration for future use or to load the previously saved configuration for faster extract.
  1394.  
  1395. Selecting database to extract
  1396. Specify destination script file name
  1397. Selecting components to extract
  1398. Selecting database objects to extract their structure
  1399. Selecting database objects to extract their data
  1400. Customizing script options
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409. .topic 400
  1410. Print Metadata allows you to print the metadata of any database object. To open it select Tools | Print Metadata menu item.
  1411.  
  1412. Select the type of the database objects to print using buttons at the navigation bar. Move the objects from the Available objects list to the Objects for printing list using arrow buttons, by double-clicking or dragging them (multiple objects can be selected using buttons Ctrl and Shift).
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421. .topic 950
  1422. HTML Report wizard allows you to generate a detailed HTML report about the selected database metadata. To open HTML Report wizard select the Tools | HTML Report menu item.
  1423.  
  1424. Select source database and output directory
  1425. Select type of database objects to extract
  1426. Specify Cascading Style Sheet for the report
  1427. Set additional parameters
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435. .topic 1210
  1436. The Report Designer allows you to create and edit reports. This tool can be opened after completion of Create Report Wizard to design a new report. To edit already existing project use the appropriate Report Viewer navigation bar item.
  1437.  
  1438. This module is provided by FastReport (http://www.fast-report.com) and has its own help system. Press F1 key in the Report Designer to call the FastReport help.
  1439.  
  1440. Please find below the instruction on how to create a simple report in the Report Designer:
  1441.  
  1442. Adding dialog form
  1443. Adding database component
  1444. Adding query component
  1445. Adding fields to the report
  1446. Viewing the report
  1447.  
  1448. Note: The Object Inspector that allows you to edit report object properties, can be opened by pressing the F11 key.
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458. .topic 370
  1459. SQL Monitor allows you to view the SQL code of all the operations executed over databases and database objects in SQL Manager 2005 for SQL Server. The content of the window can't be edited, but can be copied to the clipboard, saved to a text file or printed.
  1460.  
  1461. To open the SQL Monitor window, select Tools | SQL Monitor menu item.
  1462.  
  1463. Using navigation bar
  1464. Using popup menu
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470. .topic 970
  1471. SQL Manager 2005 for SQL Server provides Login Manager for adding, deleting users, and editing global user privileges, and Grant Manager for granting privileges on the selected databases, tables and fields.
  1472.  
  1473. 'Global' user privileges define the user access rights to all the database tables on the server. Granting privileges on the selected databases, tables or fields allows user to perform the defined operation (select, update, insert) over all the tables of the selected database, over the selected tables or over the selected fields only.
  1474.  
  1475.  
  1476. Adding User
  1477.  
  1478. To add a new user:
  1479.  
  1480. Select the Tools | User Manager menu item.
  1481. Click Add User button in Login Manager
  1482. Edit user within User Editor.
  1483.  
  1484.  
  1485. Editing User Properties
  1486.  
  1487. To edit user properties:
  1488.  
  1489. Select the Tools | User Manager menu item.
  1490. Select a user to edit his privileges in Login Manager window.
  1491. Click Edit User button.
  1492. Edit user privileges within User Editor.
  1493.  
  1494. Managing User Grants
  1495.  
  1496. To define user grants for database objects:
  1497.  
  1498. Select the Tools | Grant Manager menu item.
  1499. Select the database host from the drop-down list on  Grant Manager toolbar.
  1500. Edit database privileges within the Grant Manager.
  1501.  
  1502.  
  1503. Deleting User    
  1504.         
  1505. To delete a user:
  1506.  
  1507. Select the Tools | User Manager item.
  1508. Select a user to delete in Login Manager window.
  1509. Click Delete User button.
  1510. Confirm deleting in the dialog window.    
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550. .topic 410
  1551. Login Manager is provided for administering users and their global privileges.
  1552.  
  1553. To open Login Manager select the Tools | Login Manager menu item.
  1554.  
  1555. Connecting to host
  1556. Using User Editor
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564. .topic 420
  1565. Grant Manager allows you to set the user access grants for certain databases, tables, views, functions, sequences, schemas, tablespaces and languages.
  1566.  
  1567. To open Grant Manager select the Tools | Grant Manager menu item.
  1568.  
  1569. Managing database-specific privileges
  1570. Viewing granted objects only
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578. .topic 480
  1579. SQL Manager 2005 for SQL Server provides graphical wizard interface for all native SQL Server services, which are intended for database and table maintenance. To make your work with the server easier SQL Manager 2005 for SQL Server also provides some graphical tools for working with the server as a whole.
  1580.  
  1581. The following services and server tools are available:
  1582.  
  1583. Attach Database
  1584.  
  1585.  
  1586. Detach Database
  1587.  
  1588.  
  1589. Backup Database
  1590.  
  1591.  
  1592. Restore Database
  1593.  
  1594.  
  1595. Backup devices
  1596.  
  1597.  
  1598. DTS Packages
  1599.  
  1600.  
  1601. Jobs
  1602.  
  1603.  
  1604. Job History
  1605.  
  1606.  
  1607. Alerts
  1608.  
  1609.  
  1610. Operators
  1611.  
  1612. .topic 510
  1613. SQL Manager 2005 for SQL Server provides attaching of an existing database that is made up of one or more files to the instance of MS SQL Server.
  1614.  
  1615.  
  1616. To open the Attach Database Wizard select the Services | Attach Database menu item.
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625. .topic 540
  1626. SQL Manager 2005 for SQL Server provides detaching of a database from the instance of MS SQL Server.
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635. .topic 440
  1636. Environment Options allow you to customize general SQL Manager 2005 for SQL Server options. To open the Environment Options window select the Options | Environment Options menu item.
  1637.  
  1638. Preferences
  1639. Confirmations
  1640. Windows
  1641. Tools
  1642. Timeouts
  1643. DB Explorer
  1644. Naming Rules
  1645. Object Editors
  1646. SQL Editor
  1647. SQL Monitor
  1648. SQL Script
  1649. Query Builder
  1650. Print Metadata
  1651. Data Export
  1652. Fonts
  1653. Grid
  1654. Data Options
  1655. Print Data
  1656. Color & Formats
  1657. Advanced
  1658. Column Options
  1659. Localization
  1660.  
  1661.  
  1662. .topic 980
  1663.   Show splash screen on startup
  1664. Displays the splash screen on SQL Manager 2005 for SQL Server startup.
  1665.  
  1666.   Save desktop on disconnect
  1667. Saves all the database windows and their positions on disconnecting from the database.
  1668.  
  1669.   Disable multiple instances
  1670. Prohibits running multiple instances of SQL Manager 2005 for SQL Server.
  1671.  
  1672.   Encrypted passwords
  1673. Encrypts passwords for connecting to databases in the Windows registry.
  1674.  
  1675.   Show desktop panel (for MDI Environment style only)
  1676. Displays the Desktop Panel when no windows are open.
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. .topic 1020
  1683.   Confirm saving of object
  1684. If this option is on, the program requires confirmation each time you want to save changes in database object.
  1685.  
  1686.   Confirm dropping object
  1687. If this option is on, the program requires confirmation for dropping database object.
  1688.  
  1689.   Confirm exit from SQL Manager 2005 for SQL Server
  1690. If this option is on, the program requires confirmation when you want to exit SQL Manager 2005 for SQL Server.
  1691.  
  1692.   Confirm transaction commit
  1693. If this option is checked, the program requires confirmation of the transaction commit.
  1694.  
  1695.   Confirm transaction rollback
  1696. If this option is checked, the program requires confirmation of the transaction rollback.
  1697.  
  1698.   Confirm metadata changing
  1699. If this option is on, the program requires confirmation of metadata changing (See Changing Metadata window).
  1700.  
  1701. Table altering operations performed via recreation
  1702. This option defines SQL Manager 2005 for SQL Server behavior when it is needed to recreate able to perform requested changes with it.
  1703. Enabled - such operations will be available without warnings.
  1704. Enabled, show warning - the warning window will appear if chosen operation requires table recreation.
  1705. Disabled - deny this type of operations.
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713. .topic 1030
  1714. Environment Style
  1715. This switch allows you to define the basic window environment - MDI (like MS Office) or Floating Windows (like Borland IDE).
  1716.  
  1717. Windows restrictions
  1718. This option allows you to set the number of editors (Table Editor, SQL Editor, etc.) that can be opened at a time.
  1719.  
  1720. Zoom options
  1721. This option is available only if Environment Style is 'Floating-windows environment'. It allows you to set the window maximization size: full screen, restricted by main form, restricted by main form and DB Explorer.
  1722.  
  1723. Bar style for child forms
  1724. Allows you to define the location of action buttons. They can be located at the Navigation bar at the left and/or on the Toolbar.
  1725. You can also Enable floating toolbars feature by clicking the appropriate option.
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731. .topic 990
  1732.   Show only connected databases in drop-down menu
  1733. Displays only connected databases in the dropdown menus of such tools as: QueryBuilder, SQL Script, etc.
  1734.  
  1735.   Allow using parameters in query text
  1736. This feature allows you to specify different values within a query in a popup dialog just before the query execution. Use the colon (':') character before some identifier (e.g. :P1) to specify a parameter within a query.
  1737.  
  1738.   Use transactions in Data tab of object editors, SQL Editor and Query Builder
  1739. If this option is on, the transaction is active until the Data tab is closed or the Commit button is pressed; all edited records are blocked until the transaction commit. If this option is off, then the transaction starts and immediately commits (autocommit) on saving each record, which is blocked only for a short time period.
  1740.  
  1741.   Use shared connection for each data view within a database
  1742. Uncheck this option to use separate connection for each data view within a database. Note that this option is only available when Use transactions in Data tab of object editors, SQL Editor and Query Builder is unchecked.
  1743.  
  1744.   Asynchronous query execution
  1745. Check this option to allow executing a query in background mode.
  1746.  
  1747.   Don't fill server lists in connection forms
  1748. If this option is checked, server list will be filled up with the names of most recently used servers, which are stored locally in the Windows registry. Otherwise, SQL Manager 2005 for SQL Server will scan the network to fill in the server lists in connection forms. Otherwise,
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755. .topic 1000
  1756. System font name
  1757. Defines the font name used by SQL Manager 2005 for SQL Server.
  1758.  
  1759. System font size
  1760. Defines the font size used by SQL Manager 2005 for SQL Server.
  1761.  
  1762. The box below displays the sample text using the selected font.
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768. .topic 1010
  1769.  
  1770. General options
  1771.  
  1772.   Striped Grids
  1773. Displays the odd grid rows in a different color, defined by the Stripy option.
  1774.  
  1775.   Show editor immediately
  1776. Allows editing the cell value right after the cell is clicked.
  1777.  
  1778.   Always show editor
  1779. Set this option to make the cell editors always active.
  1780.  
  1781.   Enable auto-search in grid
  1782. Set this option to enable start typing and have the grid automatically navigate to the closest match.
  1783.  
  1784.   Row multi-selection
  1785. With this option set, multiple rows can be selected.
  1786.  
  1787.   Column auto-width
  1788. With this option set, column widths are changed in order to display all columns without using the horizontal scrollbar. If a column's content is still too large to display without the grid needing to resize, then the column's values are truncated and the hidden characters are replaced with an end ellipsis.
  1789.  
  1790.   Cell auto-height
  1791. If the widths of the columns are insufficient to display the full content, then text clipping occurs. Set this option to prevent this.  If this option is set, the cell content is displayed in multiple lines where necessary. You can set the number of lines to display using Cell max line count option.
  1792.  
  1793.  
  1794. Limit options in table editor
  1795.  
  1796. Select all records
  1797. Selects all the records from the table, no matter how many records there are in it.
  1798.  
  1799. Select only
  1800. Select only fixed number of records on opening Data tab.
  1801.  
  1802. Records
  1803. This edit box is available only if Select only option is selected. It defines the maximum number of records, selected from the table at a time.
  1804.  
  1805.  
  1806. Grid layout preference
  1807.  
  1808. Select Save and restore layout option to keep the original grid width. Select Autofit column widths option to shrink the grid columns so that the longest visible column value fits.
  1809.  
  1810.  
  1811. Root level options
  1812.  
  1813. These options are applied to the main view of the grid. See Grid View for details.
  1814.  
  1815. Detail level options
  1816.  
  1817. These options are applied to the detail view of the grid. See Grid View for details.
  1818.  
  1819.   Show "Group by" box
  1820. Displays a box above the column captions allowing to group data in the grid.
  1821.  
  1822.   Show indicator
  1823. Displays the row indicator.
  1824.  
  1825.   Show navigator
  1826. Activates/deactivates the data navigator. This navigator is displayed at the bottom of a view.
  1827.  
  1828.   Show "New item row"
  1829. Displays an empty row at the top of a view, which is a convenient way for adding data to the grid.
  1830.  
  1831.   Hide tabs for single detail
  1832. This option is actual when only one view is present on detail level. When checked, it hides the view tab.
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841. .topic 1040
  1842. The Localization page is provided for managing the SQL Manager 2005 for SQL Server localization files.
  1843.  
  1844. You can create your own *.lng files similar to those, available in the $(SQL Manager 2005 for SQL Server)\Languages folder, add them to the list of available languages on this tab and set the new language as a program interface language.
  1845.  
  1846. Default directory
  1847. The default directory for adding the new *.lng files.
  1848.  
  1849. Choose program language
  1850. Selects the program interface language.
  1851.  
  1852. Available languages
  1853. Lists all the languages available for localization and the corresponding *.lng files. Double-click a language in the list to edit its name or *.lng file.
  1854.  
  1855. Add defaults
  1856. Searches in the Default directory folder for the *.lng files and adds all them to the list.
  1857.  
  1858. Add
  1859. Opens the Language Editor dialog for adding a new language file.
  1860.  
  1861. Edit
  1862. Opens the Language Editor dialog for changing the name or the corresponding *.lng file of the language selected in the Available languages list box.
  1863.  
  1864. Delete
  1865. Removes the language selected in the Available languages list box.
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873. .topic 450
  1874. Editor Options allow you to set the parameters of viewing and editing the SQL statements within SQL Manager 2005 for SQL Server. To open the Editor Options window select the Options | Editor Options menu item.
  1875.  
  1876. General
  1877. Display
  1878. Color
  1879. Quick Code
  1880. SQL Formatter
  1881. Key Mapping
  1882.  
  1883.  
  1884.  
  1885. .topic 770
  1886. This window allows you to customize the application interface style to your liking. To open this window select the Options | Visual Options menu item.
  1887.  
  1888. Use Scheme Name to select the interface scheme you like: Office XP style, Windows XP native style, etc. You can create your own interface schemes by customizing any visual options you like on the appropriate tabs (Bars and Menus, Trees and Lists, Edit Controls, Check Boxes, Buttons, etc.) and clicking the Save As button.
  1889.  
  1890. All the customizing you make is displayed on the Sample panel.
  1891.  
  1892. Bars and menus
  1893. Trees and lists
  1894. Edit controls
  1895. Check boxes
  1896. Buttons
  1897. Page controls
  1898. Group boxes
  1899. Splitters
  1900. Navigation bar
  1901.  
  1902.  
  1903.  
  1904.  
  1905. .topic 470
  1906. The Keyboard Templates window allows you to create new keyboard templates for quicker typing regularly met expressions and to edit the existing ones. To call this window select the Options | Keyboard Templates menu item from the popup menu.
  1907.  
  1908. You can deactivate the existing template by choosing it from the list at the left of the window and removing flag from its name. Also you can edit template name, using button Edit, delete a template, using button Delete and edit template expression in the right part of the window. For faster editing you can use buttons Cursor Position, Author, Time, Date.
  1909.  
  1910. To add a new template, click Add, set the template name and define the template expression. In the upper left corner of the window you can choose the case of the template expression.
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916. .topic 820
  1917. Save Settings Wizard allows you to export SQL Manager 2005 for SQL Server settings wholly or partially to a single *.reg file, which you can apply to SQL Manager 2005 for SQL Server installed on another machine or use to backup previous settings. To open the wizard select the Options | Save Settings menu item.
  1918.  
  1919. Specifying destination file
  1920. Selecting settings
  1921. Selecting databases
  1922. Saving settings
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928. .topic 1050
  1929. You can add external programs to SQL Manager 2005 for SQL Server to make it more effective.
  1930.  
  1931. Adding External Tool
  1932.  
  1933. To add an external program:
  1934.  
  1935. Select the Options | External Tools menu item.
  1936. Click Add... button in the External Tools dialog.
  1937. Click the button next to the Program box to select the program *.exe file, or set the program execution file manually in this box.
  1938. Set the program title, hot key, working directory and execution parameters if necessary in the proper boxes of the External Tool Info Editor.
  1939. Click OK in the External Tool Info Editor and External Tools dialogs.
  1940.  
  1941. This adds the icon and the title of the program you selected to the Tools | External Tools submenu. Now you can run this tool quickly without stopping work with MySQL Manager.
  1942.  
  1943. Removing External Tool
  1944.  
  1945. To remove an external program:
  1946.  
  1947. Select the Options | External Tools menu item.
  1948. Select the tool to remove from the Tools list in the External Tools dialog.
  1949. Click Delete button.
  1950. Click OK to confirm removing the tool and closing the dialog.
  1951.  
  1952. The selected tool is removed and is no longer accessible from the Tools | External Tools submenu.
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987. .topic 460
  1988. The External Tools window allows you to add executable programs to the Tools | External Tools menu to access them quickly from SQL Manager 2005 for SQL Server. To call this window select the Options | External Tools menu item.
  1989.  
  1990. Tools
  1991. Lists all added external tools.
  1992.  
  1993. Add
  1994. Opens External Tool Info Editor for adding a new tool.
  1995.  
  1996. Edit
  1997. Opens External Tool Info Editor for editing title, .exe file, hot key, working directory or execution parameter of the tool, selected in the Tools list box.
  1998.  
  1999. Delete
  2000. Removes the selected tool from the list of SQL Manager 2005 for SQL Server external tools.
  2001.  
  2002. To change the order of tools in the list use the arrow buttons below the list box or press buttons Shift+Ctrl+Up / Shift+Ctrl+Down on the keyboard. You can also drag items in the list box to change their positions.
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009. .topic 1180
  2010. The External Tool Info Editor window allows you to set the parameters of calling the external program from SQL Manager 2005 for SQL Server. This window is available on adding or editing the external tool (see Add External Tool and External Tools).
  2011.  
  2012. Title
  2013. Title displayed in the Tools | External Tools submenu for calling the tool.
  2014.  
  2015. Hot Key
  2016. Press a key or a key combination on the keyboard to set it as a hot key for the tool.
  2017.  
  2018. Program
  2019. Full path to the program *.exe file.
  2020.  
  2021. Working Dir
  2022. Program default directory.
  2023.  
  2024. Parameters
  2025. Parameters for executing the program.
  2026.  
  2027.  
  2028.  
  2029.  
  2030. .topic 1080
  2031. SQL Manager 2005 for SQL Server provides multi-language interface support. You can change the program language easily, edit existing localizations, and create your own localization files.
  2032.  
  2033. Changing Program Language
  2034.  
  2035. To select the program interface language:
  2036.  
  2037. Select the Options | Select Program Language menu item.
  2038. Select the interface language in the Select Program Language dialog.
  2039. Click OK to close the dialog.
  2040.  
  2041. Editing Program Localization
  2042.  
  2043. To edit the interface localization:
  2044.  
  2045. Open one of the program windows (e.g. Table Editor, SQL Editor) to edit the localization of its captions and hints.
  2046. Press Shift+Ctrl+L on the keyboard to open Localization Editor window.
  2047. Edit window captions and hints as you like.
  2048. Click Save button on the toolbar.
  2049.  
  2050. Note, that the Localization Editor window is available only if the selected language is different than default.    
  2051.  
  2052. Creating New Localization
  2053.  
  2054. To create a new localization:
  2055.  
  2056. Create a new localization file similar to one of those situated in the $(MySQL Manager)\Languages folder.
  2057. Select the Options | Environment Options menu item.
  2058. Open the Environment Options | Localization dialog tab.
  2059. Click Add button on this tab.
  2060. Set the language name and the path to the new *.lng file in the dialog window.
  2061.  
  2062. The new language is added to the list of available languages. Now you can set it as a program interface language via the Select Program Language dialog or the Localization tab of the Environment Options.    
  2063.  
  2064.  
  2065. .topic 1090
  2066. The Localization Editor window allows you to edit the captions and hints of any SQL Manager 2005 for SQL Server window, if the selected program language is different than default.
  2067.  
  2068. To call this window just press Shift+Ctrl+L in any SQL Manager 2005 for SQL Server window.
  2069.  
  2070. All the window text consists of the element names and the corresponding strings, divided by the '=' character. These strings are what you see in the program as menu items, window captions, button hints, etc. Edit them to change the program appearance. Don't edit anything that stands before the '=' character - this will not produce any effect.
  2071.  
  2072. For your convenience we have provided Find  and Replace buttons on the toolbar, which call the Find Text Dialog or the Replace Text Dialog respectively. The Search Again button enables the repeated search for the text last searched.
  2073.  
  2074. When you are done with editing click Save button on the toolbar to apply the changes you have made.
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080. .topic 477
  2081. The Select Language dialog allows you to select a language for SQL Manager 2005 for SQL Server localization.
  2082.  
  2083. To call this window select the Options | Select Program Language menu item.
  2084.  
  2085. The window displays the list of available languages, set in the Environment Options  | Localization. Select the proper interface language and click OK.
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096. .topic 610
  2097. The Find Text Dialog is provided for quick searching for the text in the editor window.
  2098.  
  2099. Text to Find
  2100. Enter a search string. To select from a list of previously entered search strings, click the down arrow next to the input box.
  2101.  
  2102.   Case Sensitive
  2103. Differentiates uppercase from lowercase when performing a search.
  2104.  
  2105.   Whole words only
  2106. Searches for words only. (With this option off, the search string might be found within longer words.)
  2107.  
  2108.   Regular Expressions
  2109. Recognizes regular expressions in the search string.
  2110.  
  2111. Forward
  2112. Searches from the current position to the end of the file.
  2113.     
  2114. Backward
  2115. Searches from the current position to the beginning of the file.
  2116.  
  2117. Global
  2118. Searches the entire file, in the direction specified by the Direction setting.
  2119.  
  2120. Selected text
  2121. Searches only the selected text, in the direction specified by the Direction setting. You can use the mouse or block commands to select a block of text.
  2122.  
  2123. From cursor
  2124. The search starts at the cursor's current position, and then proceeds either forward to the end of the scope, or backward to the beginning of the scope depending on the Direction setting.
  2125.  
  2126. Entire scope
  2127. The search covers either the entire block of selected text or the entire file (no matter where the cursor is in the file), depending upon the Scope options.
  2128.  
  2129.  
  2130.  
  2131. .topic 1150
  2132. The Replace Text Dialog is provided for searching and replacing text in the editor window.
  2133.  
  2134. Text to Find
  2135. Enter a search string. To select from a list of previously entered search strings, click the down arrow next to the input box.
  2136.  
  2137. Text to Replace
  2138. Enter the replacement string. To select from a list of previously entered search strings, click the down arrow next to the input box. To replace the text with nothing, leave this input box blank.
  2139.  
  2140.   Case Sensitive
  2141. Differentiates uppercase from lowercase when performing a search.
  2142.  
  2143.   Whole words only
  2144. Searches for words only. (With this option off, the search string might be found within longer words.)
  2145.  
  2146.   Regular Expressions
  2147. Recognizes regular expressions in the search string.
  2148.  
  2149.   Prompt on replace
  2150. Prompts you before replacing each occurrence of the search string. When Prompt on replace is off, the search string is replaced automatically.
  2151.  
  2152. Forward
  2153. Searches from the current position to the end of the file.
  2154.     
  2155. Backward
  2156. Searches from the current position to the beginning of the file.
  2157.  
  2158. Global
  2159. Searches the entire file, in the direction specified by the Direction setting.
  2160.  
  2161. From cursor
  2162. The search starts at the cursor's current position, and then proceeds either forward to the end of the scope, or backward to the beginning of the scope depending on the Direction setting.
  2163.  
  2164. Entire scope
  2165. The search covers either the entire block of selected text or the entire file (no matter where the cursor is in the file), depending upon the Scope options.
  2166.  
  2167. Replace All
  2168. Click Replace All to replace every occurrence of the search string. If you check Prompt on replace, the confirmation dialog box appears on each occurrence of the search string.
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174. .topic 600
  2175. The To-Do List window allows you to make up a list of tasks for the database. To call this window select the View | To-Do List menu item.
  2176.  
  2177. Click the Add Item button to add a task to the list. Fill in the fields of Add To-Do Item dialog window:
  2178.  
  2179. Text
  2180. Optional text describing the task.
  2181.  
  2182. Priority
  2183. The priority of the task: not negative integer.
  2184.  
  2185. User Name
  2186. User name this task is applied to.
  2187.  
  2188. Category
  2189. The task category. You can set optional text or choose one of the given categories here.
  2190.  
  2191. Click 'OK' to add the new task to the list.
  2192.  
  2193. Choose a task from the list and click the Edit Item button to edit it.
  2194.  
  2195. The Delete Item button deletes the Selected task from the list.
  2196.  
  2197. Click the Delete All button to clear the task list. Confirm it in the dialog window and all the tasks will be deleted.
  2198.  
  2199. Database Select Field
  2200. Select the database to apply the task list to. When switching between the databases you can view different task lists.
  2201.  
  2202. The task list is displayed in a form of a grid. Its columns (Action, Priority, User, Category) correspond to the task parameters. Clicking left mouse button at the column title allows you to enable sorting by the current parameter or change the sorting direction.
  2203.  
  2204. Clicking right mouse button in the window area activates popup menu, which allows you to add a task to the list, edit or drop current task, and clear the task list.
  2205.  
  2206.  
  2207.  
  2208.  
  2209. .topic 1160
  2210. The Customize Toolbars window allows you to select the buttons displayed on the MySQL Manager toolbars and change their positions.
  2211.  
  2212. To call this window, click the down-arrow button at the right-side of any toolbar, then click Add or Remove Buttons and select Customize.
  2213.  
  2214. Toolbars
  2215.  
  2216. Toolbars
  2217. The toolbars of the window from which the Customize was called. Click a box near the toolbar name to show or hide the toolbar.
  2218.  
  2219. New
  2220. Adds a new toolbar to the toolbar list and to the parent window.
  2221.  
  2222. Rename
  2223. Renames a user-created toolbar.
  2224.  
  2225. Delete
  2226. Deletes a user-created toolbar.
  2227.  
  2228. Commands
  2229.  
  2230. This tab allows you to view the list of all the commands available within toolbars of the parent window. Selecting categories in the Categories list box displays commands of the selected category (e.g. 'Database' or 'Tools') in the Commands list box. You can pick a command and drag it on any parent window toolbar to create a button for this command.
  2231.  
  2232. Options
  2233.  
  2234. Menus show recently used commands first
  2235. With this option on the parent window menus drop-down containing only several items available, which have been used recently. To display full menus unselect this option.
  2236.  
  2237. Show full menus after a short delay
  2238. This option is available only if Menus show recently used commands first is on. It displays full menus after a few seconds of showing only recent items.
  2239.  
  2240. Reset my usage data
  2241. Resets the lists of recently used commands in the toolbars and menus.
  2242.  
  2243. Large Icons
  2244. Displays larger icons on the parent window toolbars.
  2245.  
  2246. Show ToolTips on toolbars
  2247. Shows tips on navigating to the toolbar button.
  2248.  
  2249. Show shortcut keys in ToolTips
  2250. Shows shortcuts for faster activating the corresponding commands in the button tips.
  2251.  
  2252. Menu animations
  2253. Select how menus appear in the parent window.
  2254.  
  2255.  
  2256.  
  2257.  
  2258. .topic 1190
  2259. The Language Editor window allows you to set the name and the corresponding *.lng file for the localization language. It is available on adding or editing the language (see Environment Options | Localization).
  2260.  
  2261. Language Name
  2262. The name of the language displayed in the Select Program Language dialog and on the Environment Options | Localization tab.
  2263.  
  2264. Language File
  2265. The *.lng file containing the translated string resources. See $(MySQL Manager)/Languages folder to find already existing localization files.
  2266.  
  2267.