View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Insert new values in Projectorria database (table report and reportcategory) - ProjeQtOr
 
 

Insert new values in Projectorria database (table report and reportcategory)

More
10 Jan 2013 16:55 #1 by JCDe
Hi,

We would like to add new reports in Projectorria database.

For that, we are going to force the id of these reports to high values (10000, etc.).

If you need to create new reports on your side, we would like to know how you will proceed: Solution 1 or solution 2 below ?

Solution 1:
INSERT INTO report (id, ...) VALUES (null, ...) (that is to say: AUTO_INCREMENT)

Solution 2:
INSERT INTO report (id, ...) VALUES (XXX, ...) (that is to say the id is "manually" defined)

Same question concerning "reportcategory" table.

Thanks in advance for your help.

Please Log in or Create an account to join the conversation.

More
10 Jan 2013 17:07 #2 by babynus
Hi,
Solution 2 : fixing the id.
It is the easier way to be able to insert reportparameter corresponding to reports.
Same for reportCategory.

So, using high IDs for your own reports is the good solution.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.041 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.