From f834bfb9b878c622f5aabeec169c3f2af8c81e25 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 17 Mar 2010 16:34:47 +0000 Subject: Consolidate all localizable content in the Resources/ directory and only use Interfaces/ for XIBs. This addresses the first point on issue #593. --- Resources/Help/bar.gif | Bin 0 -> 184 bytes Resources/Help/english_help idx | Bin 0 -> 6144 bytes Resources/Help/icon.gif | Bin 0 -> 1068 bytes Resources/Help/index.html | 99 ++++++++ Resources/Help/sequel-pro_logo.jpg | Bin 0 -> 1932 bytes Resources/Help/topics/bar.gif | Bin 0 -> 184 bytes Resources/Help/topics/connect.html | 59 +++++ Resources/Help/topics/connect.jpg | Bin 0 -> 6812 bytes Resources/Help/topics/console.html | 48 ++++ Resources/Help/topics/data.html | 92 ++++++++ Resources/Help/topics/dump.html | 93 ++++++++ Resources/Help/topics/encoding.html | 73 ++++++ Resources/Help/topics/preferences.html | 58 +++++ Resources/Help/topics/preferences.jpg | Bin 0 -> 8025 bytes Resources/Help/topics/query.html | 58 +++++ Resources/Help/topics/reference.html | 212 +++++++++++++++++ Resources/Help/topics/sample_query.html | 81 +++++++ Resources/Help/topics/sample_tables.html | 374 ++++++++++++++++++++++++++++++ Resources/Help/topics/sequel-pro_logo.jpg | Bin 0 -> 1932 bytes Resources/Help/topics/syntax.html | 49 ++++ Resources/Help/topics/tables.html | 89 +++++++ 21 files changed, 1385 insertions(+) create mode 100644 Resources/Help/bar.gif create mode 100644 Resources/Help/english_help idx create mode 100644 Resources/Help/icon.gif create mode 100755 Resources/Help/index.html create mode 100644 Resources/Help/sequel-pro_logo.jpg create mode 100644 Resources/Help/topics/bar.gif create mode 100755 Resources/Help/topics/connect.html create mode 100644 Resources/Help/topics/connect.jpg create mode 100755 Resources/Help/topics/console.html create mode 100755 Resources/Help/topics/data.html create mode 100755 Resources/Help/topics/dump.html create mode 100755 Resources/Help/topics/encoding.html create mode 100755 Resources/Help/topics/preferences.html create mode 100644 Resources/Help/topics/preferences.jpg create mode 100755 Resources/Help/topics/query.html create mode 100755 Resources/Help/topics/reference.html create mode 100755 Resources/Help/topics/sample_query.html create mode 100755 Resources/Help/topics/sample_tables.html create mode 100644 Resources/Help/topics/sequel-pro_logo.jpg create mode 100755 Resources/Help/topics/syntax.html create mode 100755 Resources/Help/topics/tables.html (limited to 'Resources/Help') diff --git a/Resources/Help/bar.gif b/Resources/Help/bar.gif new file mode 100644 index 00000000..f716f3f9 Binary files /dev/null and b/Resources/Help/bar.gif differ diff --git a/Resources/Help/english_help idx b/Resources/Help/english_help idx new file mode 100644 index 00000000..beac9c4d Binary files /dev/null and b/Resources/Help/english_help idx differ diff --git a/Resources/Help/icon.gif b/Resources/Help/icon.gif new file mode 100644 index 00000000..70f30b35 Binary files /dev/null and b/Resources/Help/icon.gif differ diff --git a/Resources/Help/index.html b/Resources/Help/index.html new file mode 100755 index 00000000..265dd630 --- /dev/null +++ b/Resources/Help/index.html @@ -0,0 +1,99 @@ + + +Sequel Pro Help + + + + + + + + + +
+ + + + + + + + + +
+ + +

Sequel Pro Help

+
+ +
+ +
+ + + + + + +
+ + Topics +
+ + Connecting to a Database +
+ Managing Tables (Creation, Deletion, Changes) +
+ Data Management +
+ Performing Custom Queries +
+ Data Dumps (CSV, XML) +
+ Setting Preferences +
+ Console +
+ Encoding +
+ Table Syntax Generation +
+ SQL Table examples +
+ SQL Query examples +
+ MySQL SQL Reference +
+
+
+
+ + Sequel Pro Website +
+ + http://code.google.com/p/sequel-pro/ + +
+
+
+ Developers and Contributors +
+ Abhi Beckert, Matt Langtree, Lorenz Textor, Jeff Skrysak, Walter Lee Davis, Tristan O'Tierney, Kotaro Funakoshi, David Buxton, Stuart B. Glenn, Jason Hallford, snowhouse, MySQL Cocoa project +
+
+
+ MySQL Websites +
+ + http://www.mysql.com/ +
+ http://www.serverlogistics.com/mysql.php +
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/Resources/Help/sequel-pro_logo.jpg b/Resources/Help/sequel-pro_logo.jpg new file mode 100644 index 00000000..18d9f2da Binary files /dev/null and b/Resources/Help/sequel-pro_logo.jpg differ diff --git a/Resources/Help/topics/bar.gif b/Resources/Help/topics/bar.gif new file mode 100644 index 00000000..f716f3f9 Binary files /dev/null and b/Resources/Help/topics/bar.gif differ diff --git a/Resources/Help/topics/connect.html b/Resources/Help/topics/connect.html new file mode 100755 index 00000000..2fbe0864 --- /dev/null +++ b/Resources/Help/topics/connect.html @@ -0,0 +1,59 @@ + + +Sequel Pro Help - Connecting to a Database + + + + + + + + +
+ + + + + + + + + +
+ +

Connecting to a Database

+
+ +
+ +
+Back to the main menu +
+
+ + In order to work with a database and its tables, you must first be connected to it. The database connection screen appears at the start of the program. +
+
+ + + + + +
+ +
    +
  • Enter at least the host (IP or domain name). To connect to a local database, enter localhost or 127.0.0.1 as host.
  • +
  • If you enter a database, it will be selected when the connection to the server is established. Otherwise you can select one of the databases on the server afterwards.
  • +
  • If you enter no port, Sequel Pro uses the default port.
  • +
  • Choose "Save to favorites..." in the favorites popup-button to save a connection. Passwords are stored in the Keychain. To edit favorites open the Preferences.
  • +
  • You can connect to multiple databases by opening a new window (Menu File > New)
  • +
+
+ +
+ +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/connect.jpg b/Resources/Help/topics/connect.jpg new file mode 100644 index 00000000..e9c1ab6e Binary files /dev/null and b/Resources/Help/topics/connect.jpg differ diff --git a/Resources/Help/topics/console.html b/Resources/Help/topics/console.html new file mode 100755 index 00000000..1269dc38 --- /dev/null +++ b/Resources/Help/topics/console.html @@ -0,0 +1,48 @@ + + +Sequel Pro Help - Actions Console + + + + + + + + +
+ + + + + + + + + +
+ +

Console

+
+ +
+ +
+Back to the main menu +
+
+ + The Console at the bottom of Sequel Pro lists all of the actions you made in the current session accompanied by a timestamp. +It can be shown or hidden using the toolbar icon at the top that says "Show/Hide Console". You can also clear +the console by using the "Clear Console" button. If those two icons are not located in your toolbar then right-click +in the toolbar area and select "Customize Toolbar..." from the menu. You should then see a window +of icons which you can add to your Sequel Pro toolbar including the two mentioned above. +
+
+ + + +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/data.html b/Resources/Help/topics/data.html new file mode 100755 index 00000000..14aaeb9f --- /dev/null +++ b/Resources/Help/topics/data.html @@ -0,0 +1,92 @@ + + +Sequel Pro Help - Data Management + + + + + + + + +
+ + + + + + + + + +
+ +

Data Management

+
+ +
+ +
+Back to the main menu +
+
+ + In order to view, add, modify, or change data (rows) in your database tables you must either be in the "Content" tab or the "Custom Query" tab. +
+
+Adding and editing fields + + + + +
+ +
    +
  • Add or remove entries with the plus- and minus-buttons. You can select more than one entry and remove them together.
  • +
  • Edit entries by double-clicking on the value you want to change. If the button with the three lines on it is clicked, double clicking on a value opens a sheet where you can edit it. This is preferred to edit large entries or entries with multiple lines.
  • +
  • Use the value specified in the preferences (NULL by default) to enter NULL-values.
  • +
  • Changes aren't written to the database until you deselect the row!
  • +
  • It is recommended that you edit only tables which have a primary key.
  • +
+
+ +
+
+Sorting and filtering the table content + + + + +
+ +
    +
  • To sort a table by a field, click on the header of the appropriate column in the content-view.
  • +
  • Click on it twice to sort the table in descending order.
  • +
  • Select a field and operator and enter a keyword to filter a table. Click on the Show All-button to disable filtering.
  • +
  • As wildcards use % and _ (% matches any number of characters, even zero characters; _ matches exactly one character)
  • +
  • If you have selected "Limit result..." in the Preferences, you can specify the first row to be returned and hit "Go".
  • +
+
+ +
+
+Binary Data (Images, Strings, Hex Representations) + + + + +
+ +
    +
  • Field type should be Blob or Longblob
  • +
  • To edit/enter the data, double select the field in the Content tab
  • +
  • Click on Open and load an image
  • +
  • Change to image and hex view
  • +
+
+ +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/dump.html b/Resources/Help/topics/dump.html new file mode 100755 index 00000000..99123b69 --- /dev/null +++ b/Resources/Help/topics/dump.html @@ -0,0 +1,93 @@ + + +Sequel Pro Help - Data Dumps + + + + + + + + +
+ + + + + + + + + +
+ +

Data Dumps

+
+ +
+ +
+Back to the main menu +
+
+ + In order to perform actions with data dumps, you must use the "File->Import; File->Export" menu options of Sequel Pro. A variety +of exports/dumps can be performed: Sequel Pro dump, Export of Table Content Results (csv or xml format), Export of Custom +Query Results (csv or xml format), or Export of Multiple Table data (csv or xml format). On the other hand, you can only import a +Sequel Pro dump or a CSV file. +
+
+CSV File Format Information + + + + +
+ +
    +
  • You can choose the following characters: fields enclosed, fields terminated, escaped and line ends
  • +
  • The following characters are escaped: the escaped-character itself, the line ends character, the enclosed character (if given) and the fields terminated character if no enclosed character is given
  • +
  • NULL values are written without enclosed character. If it is enclosed, it is interpreted as a string.
  • +
  • When importing a csv, unenclosed \N is also interpreted as NULL (this format is used by mysqldump)
  • +
  • The recommended formats should work best. When importing, enclosed/terminated/escaped characters should be all only one character long (line ends may be longer).
  • +
+
+ +
+Importing Dumps + + + + +
+ +
    +
  • Choose "File->Import" from the Sequel Pro Menu
  • +
  • You must choose to import a CSV file (table data) or a Sequel Pro dump (varied information)
  • +
+
+ + +
+Excel CSV Formatting Options +
+If you wish to export data to a CSV file for use in Excel, use the following settings: + + + + +
+ +
    +
  • Enclosed by: " (single quote)
  • +
  • Escaped by: " (single quote)
  • +
  • Line ends: \r (for Macs)
  • +
  • Delimiter: , (comma)
  • +
+
+ +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/encoding.html b/Resources/Help/topics/encoding.html new file mode 100755 index 00000000..adaed683 --- /dev/null +++ b/Resources/Help/topics/encoding.html @@ -0,0 +1,73 @@ + + +Sequel Pro Help - Text Encoding + + + + + + + + +
+ + + + + + + + + +
+ +

Text Encoding

+
+ +
+ +
+Back to the main menu +
+
+ + You may choose the type of encoding for the data (text) that is stored in your MySQL database. There are two +places to choose the encoding: the Preferences pane or the encoding pull-down bar at the bottom left of the application window. There +are over 20 encodings for you to choose from. +
+
+In the Preferences Pane + + + + +
+ +
    +
  • Open up the "Preferences Pane" of Sequel Pro
  • +
  • From the pull-down at the bottom left of the preferences window, labelled "Default Encoding", choose an option.
  • +
  • The encoding you choose will be the default encoding for all future databases
  • +
+
+
+In the Application Window + + + + +
+ +
    +
  • In the main application window there will be a pull-down at the bottom left of the window labelled "Encoding".
  • +
  • From the pull-down choose an encoding option.
  • +
  • The encoding you choose will be the default encoding for all future databases
  • +
+
+ + + +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/preferences.html b/Resources/Help/topics/preferences.html new file mode 100755 index 00000000..0350d76b --- /dev/null +++ b/Resources/Help/topics/preferences.html @@ -0,0 +1,58 @@ + + +Sequel Pro Help - Setting Preferences + + + + + + + + +
+ + + + + + + + + +
+ +

Setting Preferences

+
+ +
+ +
+Back to the main menu +
+
+ +
+ + + + + +
+ +
    +
  • Choose if you want to reload the table after adding, editing or removing a row. If you reload it, you will be sure that the entries showed by Sequel Pro correspond to the entries in the MySQL database, but editing tables will become slow with big tables.
  • +
  • Choose if you want Sequel Pro to show an error message if no rows have been affected after adding or editing a row.
  • +
  • Choose if you want to display the values of blob and text fields (especially with big tables this can speed up the interface significantly because Sequel Pro will load only the blob and text fields of the rows you will be editing).
  • +
  • Choose if you want to limit the rows returned by the MySQL server. You can limit the result to a given number of rows to speed up the interface.
  • +
  • Select a value that is displayed and used to enter NULL-values.
  • +
  • Add favorites used to quickly connect to a MySQL database. Drag&drop them to change their order. Double-click to edit a favorite. Passwords are stored in the Keychain.
  • +
+
+ +
+ +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/preferences.jpg b/Resources/Help/topics/preferences.jpg new file mode 100644 index 00000000..64ae8e10 Binary files /dev/null and b/Resources/Help/topics/preferences.jpg differ diff --git a/Resources/Help/topics/query.html b/Resources/Help/topics/query.html new file mode 100755 index 00000000..bb628047 --- /dev/null +++ b/Resources/Help/topics/query.html @@ -0,0 +1,58 @@ + + +Sequel Pro Help - Performing Custom Queries + + + + + + + + +
+ + + + + + + + + +
+ +

Performing Custom Queries

+
+ +
+ +
+Back to the main menu +
+
+ + In order to perform a SQL query you must first choose the "Custom Query" tab. +
+
+ + + + +
+ +
    +
  • Enter your query and click on the "Run Query" button.
  • +
  • The result, if there is one, is displayed in the bottom view.
  • +
  • Under "Last Error Message" you can see the last error message returned by MySQL, if there is one.
  • +
  • Add your query to the favorites or select a favorite query with the favorites pop-up-button.
  • +
  • Select one of the last 20 queries with the history pop-up-button.
  • +
  • You can perform custom queries out of your favorite text editor by using the services menu (Services > Sequel Pro > Perform selection as MySQL query). Sequel Pro uses the last opened window to perform the query.
  • +
  • If you perferm a query out of a different text editor, be sure that Sequel Pro is already loaded and has at least one window open.
  • +
+
+ +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/reference.html b/Resources/Help/topics/reference.html new file mode 100755 index 00000000..b746bed9 --- /dev/null +++ b/Resources/Help/topics/reference.html @@ -0,0 +1,212 @@ + + +Sequel Pro Help - MySQL SQL Referernce + + + + + + + + +
+ + + + + + + + + +
+ +

MySQL SQL Reference

+
+ +
+ +
+Back to the main menu +
+
+ + + + +
+ + In the following commands and functions, any italicized text should be replaced by a variable + or name of your choice. Any text within brackets ( [ and ] ) is optional. This is only a short reference + of the SQL commands supported in MySQL. It is NOT the full list and also may not be complete + nor up-to-date. + +
+ +
+ + + + + +
+ + Commands +
+ CREATE DATABASE [IF NOT EXISTS] name +
+ CREATE [UNIQUE|FULLTEXT] INDEX name ON table (column,..) +
+ CREATE TABLE [IF NOT EXISTS] name +
+ DELETE FROM table [WHERE clause] [LIMIT n] +
+ DROP DATABASE [IF EXISTS] name +
+ DROP TABLE [IF EXISTS] name +
+ GRANT privilege ON table TO user +
+ INSERT [INTO] table [ (column, ...) ] VALUES (values, ...) +
+ LOAD DATA INFILE file INTO TABLE name +
+ SELECT [DISTINCT|ALL| |] FROM table [WHERE clause ] +
+ UPDATE table SET column=value,... [WHERE clause] [LIMIT n] +
+
+ Logical Operators +
+ NOT or  ! - performs a logical not +
+ OR or | | - performs a logical or +
+ XOR - performs a logical exclusive or +
+ AND or && - performs a logical and +
+
+ + Aggregate Functions +
+ AVG(expression) +
+ BIT_AND(expression) +
+ BIT_OR(expression) +
+ COUNT(expression) +
+ MAX(expression) +
+ MIN(expression) +
+ STD(expression)/STDDEV(expression) +
+ SUM(expression) +
+
+ General Functions +
+ ABS(number) +
+ ACOS(number) +
+ ADDDATE(date, INTERVAL, amount, type) +
+ ASCII(char) +
+ ASIN(number) +
+ ATAN(number) +
+ ATAN2(x, y) +
+ BENCHMARK(num, function) +
+ BIN((decimal) +
+ BIT_COUNT(number) +
+ BIT_LENGTH(number) +
+ CEILING(number) +
+ CHAR_LENGTH(string) +
+ COS(radians) +
+ COT(radians) +
+ CURDATE() +
+ CURTIME() +
+ DATABASE() +
+ DATE_FORMAT(date, format) +
+ DAYNAME(date) +
+ DAYOFMONTH(date) +
+ DAYOFWEEK(date) +
+ DAYOFYEAR(date) +
+ EXP(power) +
+ FLOOR(number) +
+ FORMAT(number, decimals) +
+ HOUR(time) +
+ LENGTH(string) +
+ LOG(number) +
+ LOWER(number) +
+ MD5(string) +
+ MINUTE(time) +
+ MONTH(date) +
+ MONTHNAME(date) +
+ NOW() +
+ PASSWORD(string) +
+ QUARTER(date) +
+ REVERSE(string) +
+ SECOND(time) +
+ SIGN(number) +
+ SPACE(number) +
+ SQRT(number) +
+ UPPER(string) +
+ VERSION() +
+ WEEK(date) +
+ WEEKDAY(date) +
+ YEAR(date) +
+
+ +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/sample_query.html b/Resources/Help/topics/sample_query.html new file mode 100755 index 00000000..66b249fd --- /dev/null +++ b/Resources/Help/topics/sample_query.html @@ -0,0 +1,81 @@ + + +Sequel Pro Help - SQL Query Examples + + + + + + + + +
+ + + + + + + + + +
+ +

SQL Query Examples

+
+ +
+ +
+Back to the main menu +
+
+ + + + +
+ + The following queries are only examples and any use of these queries in a company or critical environment + signifies the prior knowledge and acceptance, on behalf of the implentor, that the authors of this software are not liable for damages or losses in use of these queries. + No guarantees are made as to the quality or reliabity of the queries listed below. They are listed to help database designers/creators in their + work by showing an example. + +
+
+
+ + + + + + + +
+ + Example SELECT Query +
+ This obtains information an account table and only returns the accounts with logins of 1 or more, + ordered alphabetically by the person's name. +
+
+ SELECT * FROM accounts WHERE LoginCount > 1 ORDER BY Name +
+
+
+ + Example DELETE Query +
+ This query deletes one row of data from a product table. +
+
+ DELETE FROM products WHERE ProductID=5 LIMIT 1 +
+
+
+ +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/sample_tables.html b/Resources/Help/topics/sample_tables.html new file mode 100755 index 00000000..ba61c094 --- /dev/null +++ b/Resources/Help/topics/sample_tables.html @@ -0,0 +1,374 @@ + + +Sequel Pro Help - SQL Table Examples + + + + + + + + +
+ + + + + + + + + +
+ +

SQL Table Examples

+
+ +
+ +
+Back to the main menu +
+
+ + + + +
+ + The following tables are only examples and any use of these tables in a company or critical environment + signifies the prior knowledge and acceptance, on behalf of the implentor, that the authors of this software are not liable for damages or losses in use of these tables. + No guarantees are made as to the quality or reliabity of the table designs listed below. They are listed to help database designers/creators in their + work by showing an example. +
+ The schema used is non-standard. It shows the table name above three columns. The first is the name of the variable, the second + is the type of that variable, and the third is the size (if necessary). +
+
+
+
+ + + + + +
+ + Example Accounts Database Table +
+ This table was designed for a custom system needing user accounts where they + could have a login and password to a website. It tracks logins, modifications to + the data and who created the account. It also allows the account to be locked out. + The password should be MD5 encrypted and stored in the database that way. +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ tblAccounts +
+  AccountID + + INTEGER + + 11 +
+  Name + + VARCHAR + + 200 +
+  Login + + VARCHAR + + 12 +
+  Password + + VARCHAR + + 32 +
+  Locked + + TINYINT + + +
+  LoginCount + + INTEGER + + 11 +
+  LastLogin + + DATETIME + + +
+  Created + + DATETIME + + +
+  CreatedBy + + VARCHAR + + 200 +
+  Updated + + DATETIME + +
+  UpdatedBy + + VARCHAR + + 200 +
+
+
+ * The AccountID is a PRIMARY KEY (also UNIQUE) +
+ * The Password is MD5 encrypted, hence the length of 32 +
+ * The Locked value is either zero (0) or one (1) +
+
+ + Example Products Database Table +
+ This table was designed to store basic production information, possibly in a + small business database or online shopping cart. It is highly recommended + that this table be customized to your needs. +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ tblProducts +
+  ProductID + + INTEGER + + 11 +
+  Name + + VARCHAR + + 200 +
+  ShortDescription + + VARCHAR + + 250 +
+  LongDescription + + TEXT + + +
+  Price + + DECIMAL(9,2) + + +
+  ImageURL + + VARCHAR + + 250 +
+  Locked + + TINYINT + + +
+  ViewCount + + INTEGER + + 11 +
+  LastViewed + + DATETIME + + +
+  Created + + DATETIME + + +
+  CreatedBy + + VARCHAR + + 200 +
+  Updated + + DATETIME + +
+  UpdatedBy + + VARCHAR + + 200 +
+
+
+ * The ProductID is a PRIMARY KEY (also UNIQUE) +
+ * The ImageURL points to an image of the product +
+ * The Locked value is either zero (0) or one (1) +
+
+ +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/sequel-pro_logo.jpg b/Resources/Help/topics/sequel-pro_logo.jpg new file mode 100644 index 00000000..18d9f2da Binary files /dev/null and b/Resources/Help/topics/sequel-pro_logo.jpg differ diff --git a/Resources/Help/topics/syntax.html b/Resources/Help/topics/syntax.html new file mode 100755 index 00000000..39c4da72 --- /dev/null +++ b/Resources/Help/topics/syntax.html @@ -0,0 +1,49 @@ + + +Sequel Pro Help - Table Syntax Generation + + + + + + + + +
+ + + + + + + + + +
+ +

Table Syntax Generation

+
+ +
+ +
+Back to the main menu +
+
+ + If you would like to generate a SQL output of your table's syntax (column types, sizes, keys, table name, etc..) use +the "Create Table Syntax" icon at the top of the application in the Sequel Pro Toolbar area. You can then use that text to +create a copy of the table in another database or it may also serve as a backup of the table's schema. If the "Create Table Syntax" icon is +not located in your toolbar then right-click +in the toolbar area and select "Customize Toolbar..." from the menu. You should then see a window +of icons which you can add to your Sequel Pro toolbar including the one mentioned above. +
+
+ + + +
+ + + \ No newline at end of file diff --git a/Resources/Help/topics/tables.html b/Resources/Help/topics/tables.html new file mode 100755 index 00000000..3840bb26 --- /dev/null +++ b/Resources/Help/topics/tables.html @@ -0,0 +1,89 @@ + + +Sequel Pro Help - Managing Tables + + + + + + + + +
+ + + + + + + + + +
+ +

Managing Tables

+
+ +
+ +
+Back to the main menu +
+
+ + In order to perform actions with tables, you must first choose the "Structure" tab. +
+
+Adding and Editing Fields + + + + +
+ +
    +
  • Add fields with the plus-button and drop them with the minus-button.
  • +
  • Edit fields by double-click on the value you want to change. To cancel editing hit the esc-key.
  • +
  • Changes aren't written to the database until you deselect the row!
  • +
  • You can also drag & drop fields to change their order (if they are not indexed).
  • +
+
+ +
+
+Adding, editing, removing and copying tables + + + + +
+ +
    +
  • Add or remove tables with the plus- and minus-buttons.
  • +
  • If you add a table, Sequel Pro creates a field called "id" because a table must have at least one column. You can change or delete this field afterwards.
  • +
  • Change the name of a table by double-clicking on it. Hit the esc-key to cancel editing.
  • +
  • Select a table and hit the copy button under the list of tables to copy it. If you mark "Copy table content", the new table will also contain all entries of the old table.
  • +
+
+ +
+
+Adding and editing indexes + + + + +
+ +
    +
  • Add indexes with the plus-button and drop them with the minus-button.
  • +
  • Select "Key Type", "Key Name" and "Indexed Columns" in the sheet. If you don't specify a key name, the column name is used as name.
  • +
  • If you want to make an index of more than one column, enter them in the appropriated field separated by commas (without whitespace after the comma!).
  • +
+
+ +
+ + + \ No newline at end of file -- cgit v1.2.3