Dbm (discuter | contributions) (→SQLfast) |
Dbm (discuter | contributions) (→SQLfast) |
||
Ligne 115 : | Ligne 115 : | ||
<!-- ---------------------------------------------------------------------------------------- --> | <!-- ---------------------------------------------------------------------------------------- --> | ||
<br> | <br> | ||
− | <center><big>'''Part I - INTRODUCTION TO DATABASE PROGRAMMING | + | <center><big>'''Part I - SQLfast tutorial - INTRODUCTION TO DATABASE PROGRAMMING'''</big></center> |
<br> | <br> | ||
− | :* | + | :*<b>Chapter 1. Introduction</b> |
::''Chapter contents'': Description of SQLfast. How to start. Example database. | ::''Chapter contents'': Description of SQLfast. How to start. Example database. | ||
− | :* | + | :*<b>Chapter 2. Basic scripts</b> |
::''Chapter contents'': First scripts. Opening a database. The <tt>select</tt> query. Using variables. Asking the user to enter data. Interactive scripts. | ::''Chapter contents'': First scripts. Opening a database. The <tt>select</tt> query. Using variables. Asking the user to enter data. Interactive scripts. | ||
− | :* | + | :*<b>Chapter 3. Creating a database</b> |
− | + | ||
− | + | ||
::''Chapter contents'': Creating a new database. Inserting data in a database. First notion of transaction. Calling an external script. Writing blank lines. In-memory databases. | ::''Chapter contents'': Creating a new database. Inserting data in a database. First notion of transaction. Calling an external script. Writing blank lines. In-memory databases. | ||
− | :* | + | :*<b>Chapter 4. Updating data</b> |
::''Chapter contents'': Multiple-field user data entry. Dialogue box layout and mechanics. SQL data modification queries. Interactive data modification. Using variables in query building. Dynamic queries. | ::''Chapter contents'': Multiple-field user data entry. Dialogue box layout and mechanics. SQL data modification queries. Interactive data modification. Using variables in query building. Dynamic queries. | ||
− | :* | + | :*<b>Chapter 5. SQL in a nutshell</b> |
+ | ::''Chapter contents'': XXXX. XXXX. XXXX. | ||
+ | |||
+ | :*<b>Chapter 6. More on variables</b> | ||
::''Chapter contents'': Playing with dates and times. Measuring elapsed time. Variable/value substitution operator. Computation. SQLfast procedures and variables. | ::''Chapter contents'': Playing with dates and times. Measuring elapsed time. Variable/value substitution operator. Computation. SQLfast procedures and variables. | ||
− | :* | + | :*<b>Chapter 7. Taking decisions</b> |
::''Chapter contents'': Alternative control statement. Displaying a message. SQLfast conditions. Skipping statements. Simple loops. | ::''Chapter contents'': Alternative control statement. Displaying a message. SQLfast conditions. Skipping statements. Simple loops. | ||
− | :* | + | :*<b>Chapter 8. Reading data</b> |
::''Chapter contents'': Extracting data from the database. Indexed <tt>select</tt> queries. Queries which return no rows. Coping with empty sets and null values. SQL for loop. Embedded loops. | ::''Chapter contents'': Extracting data from the database. Indexed <tt>select</tt> queries. Queries which return no rows. Coping with empty sets and null values. SQL for loop. Embedded loops. | ||
− | :* | + | :*<b>Chapter 9. Looping - The final chapter</b> |
::''Chapter contents'': SQL-based for loop. Range loops. While loop. Controlling a loop. Loops internals. | ::''Chapter contents'': SQL-based for loop. Range loops. While loop. Controlling a loop. Loops internals. | ||
− | :* | + | :*<b>Chapter 10. SQLfast expressions</b> |
::''Chapter contents'': Syntax of SQLfast expressions. Numeric expressions. Character string expressions. Logical expressions. Time expressions. General functions. Using external libraries. | ::''Chapter contents'': Syntax of SQLfast expressions. Numeric expressions. Character string expressions. Logical expressions. Time expressions. General functions. Using external libraries. | ||
− | :* | + | :*<b>Chapter 11. Output channels</b> |
::''Chapter contents'': Where to write? Output channels: console, standard output file, user output file, variable. Changing output channel. Default output channel. Default output mode. | ::''Chapter contents'': Where to write? Output channels: console, standard output file, user output file, variable. Changing output channel. Default output channel. Default output mode. | ||
− | :* | + | :*<b>Chapter 12. Dialogues</b> |
::''Chapter contents'': Data entry ''vs'' data update. Checking user action. Text entry/update. Selecting one item. Selecting multiple items. | ::''Chapter contents'': Data entry ''vs'' data update. Checking user action. Text entry/update. Selecting one item. Selecting multiple items. | ||
− | :* | + | :*<b>Chapter 13. Displaying data</b> |
::''Chapter contents'': Displaying a message. Message formatting. Displaying a data set. Displaying a text. Displaying a picture. Displaying a drawing. Dialogue help. Loading a file in a variable. Database browsers. | ::''Chapter contents'': Displaying a message. Message formatting. Displaying a data set. Displaying a text. Displaying a picture. Displaying a drawing. Dialogue help. Loading a file in a variable. Database browsers. | ||
− | :* | + | :*<b>Chapter 14. Advanced dialogues</b> |
::''Chapter contents'': Dialogue box layout: multi-row, multi-column. Field and button grouping. Entry fields with a predefined value list. Displayed ''vs'' returned values. Composite dialogue box. Heterogeneous dialogue box. Controlling box styles and colors. | ::''Chapter contents'': Dialogue box layout: multi-row, multi-column. Field and button grouping. Entry fields with a predefined value list. Displayed ''vs'' returned values. Composite dialogue box. Heterogeneous dialogue box. Controlling box styles and colors. | ||
− | :* | + | :*<b>Chapter 15. Large data objects</b> |
::''Chapter contents'': Reading and writing large text files. Reading and writing large binary files. Storing large objects in adatabase. | ::''Chapter contents'': Reading and writing large text files. Reading and writing large binary files. Storing large objects in adatabase. | ||
− | :* | + | :*<b>Chapter 16. Writing data tables - Part 1</b> |
::''Chapter contents'': Displaying the result of select query on the output channel. Changing the output format. CSV output format. Key-Value output format. CSV output format. CSV output format. Running an external program. | ::''Chapter contents'': Displaying the result of select query on the output channel. Changing the output format. CSV output format. Key-Value output format. CSV output format. CSV output format. Running an external program. | ||
− | :* | + | :*<b>Chapter 17. Writing data tables - Part 2</b> |
::''Chapter contents'': XML output format. HTML output format. Tuple output format. RTF output format. SQL output format. LateX output format. JSON output format. | ::''Chapter contents'': XML output format. HTML output format. Tuple output format. RTF output format. SQL output format. LateX output format. JSON output format. | ||
− | :* | + | :*<b>Chapter 18. Importing and exporting data</b> |
::''Chapter contents'': csv export, csv import, dbf import, (<i>writing in progress</i>: SQL-DML export, SQL-DML import, JSON export, JSON import). | ::''Chapter contents'': csv export, csv import, dbf import, (<i>writing in progress</i>: SQL-DML export, SQL-DML import, JSON export, JSON import). | ||
− | :* | + | :*<b>Chapter 19. Recursive programming</b> |
::''Chapter contents'': Factorial computing. Recursive tree processing. Tree traversal. Coping with cyclic data. SQL recursive queries. SQL recursive triggers. Loop-based recursion implementation. SQLfast recursive scripts. | ::''Chapter contents'': Factorial computing. Recursive tree processing. Tree traversal. Coping with cyclic data. SQL recursive queries. SQL recursive triggers. Loop-based recursion implementation. SQLfast recursive scripts. | ||
− | :* | + | :*<b>Chapter 20. Metadata - Walking on the wild side</b> |
::''Chapter contents'': Database schema documentation. System catalog tables. SQLfast dictionaries. System tables SYS_TABLE, SYS_COLUMN, SYS_KEY, SYS_KEY_COMP. Modifying a schema. Building a dictionary. Dictionary-driven scripts. | ::''Chapter contents'': Database schema documentation. System catalog tables. SQLfast dictionaries. System tables SYS_TABLE, SYS_COLUMN, SYS_KEY, SYS_KEY_COMP. Modifying a schema. Building a dictionary. Dictionary-driven scripts. | ||
− | :* | + | :*<b>Chapter 21. SQLdraw</b>, writing in progress. |
::''Chapter contents'': What is SQLdraw? The SQLdraw concepts and language. The SQLdraw editor. The SQLdraw viewer. | ::''Chapter contents'': What is SQLdraw? The SQLdraw concepts and language. The SQLdraw editor. The SQLdraw viewer. | ||
− | :* | + | :*<b>Chapter 22. Extending SQLfast</b> |
::''Chapter contents'': How to extend the functionalities of SQLfast. Service scripts. External applications. Function libraries. The LStr library. The LFile library. The LGeo library. External programs. Extending the SQLfast language. The SQLfast compiler-loader. Adding user-defined functions. | ::''Chapter contents'': How to extend the functionalities of SQLfast. Service scripts. External applications. Function libraries. The LStr library. The LFile library. The LGeo library. External programs. Extending the SQLfast language. The SQLfast compiler-loader. Adding user-defined functions. | ||
− | :* | + | :*<b>Chapter 23. Aid to SQLfast development</b>, writing in progress. |
+ | |||
+ | :*<b>Appendix. A basket of examples</b>, writing in progress. | ||
+ | ::''Appendix contents'': Comparing the contents of two tables. Displaying the contents of two tables in a single table. Dumping a database in XML format. Data-driven multiple aggregations. Data mining. Paged reading of data. Managing a file of parameters. Image selection tool. Simulating arrays in SQLfast. Smart writing of data table. Checking functional dependencies in a table. Managing a photo album. A picture viewer. Collecting web statistics. Computing missing data in incomplete statistical series. The Travelling Salesman problem. ''and more ...'' | ||
<!-- ------------- Part II - PROBLEM SOLVING WITH DATABASES - Case studies -------------- --> | <!-- ------------- Part II - PROBLEM SOLVING WITH DATABASES - Case studies -------------- --> | ||
Ligne 273 : | Ligne 277 : | ||
:*SQLfast Tutorial - <b>56. Database reverse engineering</b>, writing in progress. | :*SQLfast Tutorial - <b>56. Database reverse engineering</b>, writing in progress. | ||
<br> | <br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===DB-MAIN=== | ===DB-MAIN=== |
<Retour à la page d'accueil / Back>
Sommaire |