Howdy All -
I use a software app that is a 'relational psql' / btreive hybrid. When I do upgrades of the product, i lose custom indexes and such and recreate them. The software i use does not utilize views and coming from the MS-SQL world, I use them frequenly.
So from help files, and what not, I've hammered out the following in my attempt to create a view. The SQL select statement works fine (it is a little odd, but I have some odd data structures and data problems and am trying to use a view to aid in some reporting structures, realizing that after every system upgrade, I will need to recreate the view and what not).
When I try to execute the above, I get the following error:
So my question is, how do I change the meta data version? What are the dangers, what should I be aware of. I will of course do this first on my non production system first and test before making changes to my production system(s). I suspect I will need to "redo" whatever I do when I upgrade but how to get a little further would be greatly appreciated.
Based on the help file, I think I use the command pvmdconv but start to get a little confused with all the various switches.
Other than hopefully "view" creation, what are advantages (and/or disadvantages) to upgrading meta data version?
Please advise
I use a software app that is a 'relational psql' / btreive hybrid. When I do upgrades of the product, i lose custom indexes and such and recreate them. The software i use does not utilize views and coming from the MS-SQL world, I use them frequenly.
So from help files, and what not, I've hammered out the following in my attempt to create a view. The SQL select statement works fine (it is a little odd, but I have some odd data structures and data problems and am trying to use a view to aid in some reporting structures, realizing that after every system upgrade, I will need to recreate the view and what not).
Code:
CREATE VIEW vw_normCusts (trueCustNum,CustomerNum,MasterCustNum,LinkedMasterCustNum,subLinkMaster)
WITH EXECUTE AS 'MASTER' AS
select coalesce(subMaster.LinkedMasterCustNum,customer.LinkedMasterCustNum) as trueCustNum, customer.CustomerNum, customer.MasterCustNum, customer.LinkedMasterCustNum, subMaster.LinkedMasterCustNum as subLinkMaster
from {oj "CUSTOMER" "CUSTOMER" LEFT OUTER JOIN "CUSTOMER" "subMaster" ON "CUSTOMER"."MasterCustNum"="subMaster"."CustomerNum"}
When I try to execute the above, I get the following error:
Code:
[LNA][Pervasive][ODBC Engine Interface][Data Record Manager]This feature is not supported for the current Metadata version.
So my question is, how do I change the meta data version? What are the dangers, what should I be aware of. I will of course do this first on my non production system first and test before making changes to my production system(s). I suspect I will need to "redo" whatever I do when I upgrade but how to get a little further would be greatly appreciated.
Based on the help file, I think I use the command pvmdconv but start to get a little confused with all the various switches.
Other than hopefully "view" creation, what are advantages (and/or disadvantages) to upgrading meta data version?
Please advise