File:RDB connection.ANA: Difference between revisions
| Line 13: | Line 13: | ||
* Loc_of_result.Ind_id must be updated in the RDB. Now it is empty. Does the model contain formula to fill it? | * Loc_of_result.Ind_id must be updated in the RDB. Now it is empty. Does the model contain formula to fill it? | ||
* There should be a button for converting nodes into edit tables. This is because some models are using external data that cannot be accessed with other versions than Analytica Enterprise. The button would simply do (Va1:= Va1) for each variable in the variable list. | * There should be a button for converting nodes into edit tables. This is because some models are using external data that cannot be accessed with other versions than Analytica Enterprise. The button would simply do (Va1:= Va1) for each variable in the variable list. | ||
* The correct IP should be used so that the model works in the Internet as well. The correct IP is 193.167.179.97. | |||
==SQL code in the model== | ==SQL code in the model== | ||
Revision as of 13:31, 7 November 2008
| Moderator:Nobody (see all) Click here to sign up. |
|
|
| Upload data
|
Connection module for writing variable results into the Result database. You can freely open and use the module, but you cannot actually write information into the Result database unless you have a password.
Note that the necessary variable, index, dimension, and run information will be asked. You must fill in all tables before the process is completed.
Note! You can insert several variables at the same time. Each variable MUST have at least one index.
For reading results from the database, see RDB reader.ANA.
To do: improvement needs
- Run_list table needs the field Var_id. This will help identification of variables in each run without the need to go through result_id. The model should contain formula to fill it.
- Loc_of_result.Ind_id must be updated in the RDB. Now it is empty. Does the model contain formula to fill it?
- There should be a button for converting nodes into edit tables. This is because some models are using external data that cannot be accessed with other versions than Analytica Enterprise. The button would simply do (Va1:= Va1) for each variable in the variable list.
- The correct IP should be used so that the model works in the Internet as well. The correct IP is 193.167.179.97.
SQL code in the model
SQL for Dimension table:
SELECT Dim_id, Dim_name FROM `Dimension`
SQL for Indices table:
SELECT Ind_id, Ind_name, Dimension.Dim_id, Dim_name FROM `Index`, Dimension WHERE `Index`.Dim_id=Dimension.Dim_id
SQL for Locations table:
SELECT Loc_id, Location, Dimension.Dim_id, Dim_name FROM `Location`, `Dimension` WHERE Location.Dim_id = Dimension.Dim_id
SQL for Variables table:
SELECT Var_id, Var_name FROM `Variable`
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Dimensions | User | Comment | |
|---|---|---|---|---|
| current | 09:48, 9 October 2008 | (55 KB) | Jouni (talk | contribs) | Added new functionality for describing locations. This is already reflected in the structure of the RDB. There is a development need in New_locs. |
| 08:17, 16 September 2008 | (53 KB) | Jouni (talk | contribs) | ALL so far identified problems solved. This version is compatible with the new, lighter Result Database structure. | |
| 13:43, 15 September 2008 | (55 KB) | Jouni (talk | contribs) | Some technical improvements. But the Missing item indices are actually really tricky, no breakthrough yet. | |
| 14:14, 8 September 2008 | (55 KB) | Jouni (talk | contribs) | Now the model checks for existing locations and uses them correctly in creating new indices. | |
| 14:36, 5 September 2008 | (55 KB) | Jouni (talk | contribs) | Locations must be text values! Now corrected. | |
| 10:58, 3 September 2008 | (52 KB) | Jouni (talk | contribs) | Problem was that database update corrupted the numbering of tables. Now it is corrected. This simplified the model. | |
| 14:03, 2 September 2008 | (52 KB) | Jouni (talk | contribs) | Now it works! Although there is something strange going on with Inp_loc_of_result when Testvariables are used. | |
| 13:16, 1 September 2008 | (52 KB) | Jouni (talk | contribs) | Almost works with online writing. | |
| 17:17, 30 August 2008 | (49 KB) | Jouni (talk | contribs) | Old code removed. Input form outline updated. The module still have dummies for offline work; these must be removed for real use. | |
| 17:02, 30 August 2008 | (68 KB) | Jouni (talk | contribs) | Completely new operationalisation. Now the idea is that the edit tables only show the information that is needed. What is needed is checked from the RDB online. The used needs not know object id numbers. |
You cannot overwrite this file.
File usage
There are no pages that use this file.