Saving veins data in a SQLite database - sqlite

Good morning everybody.
I'm using Veins 4.4 and Omnet++ v4.6.
Is it possible to save data collected through a Veins simulation (i.e. WaveShortMessage fields) in my SQLite DB?
thanks in advance
BR

SQLite support for OMNeT++ 5.1 is a work in progress. There will be a preview release before the holidays so if you can port your code OMNeT++ 5.1 (PRE2) you will be able to configure an SQLite vector manager (instead of the current text based one) which will write out the vector data to a SQLite database. A preliminary version was presented at the 2016 OMNeT++ Summit: https://summit.omnetpp.org/archive/2016/assets/pdf/OMNET-2016-Session_3-03-Presentation.pdf

Related

How can I possibly replicate data from Postgres version 9.1 to 14 using wal log shipping

I have the following painful scenario -
I have a system running a standalone Postgresql 9.1 database at a client site in Europe - I cannot upgrade the db version
It is running file based offline wal archive replication which produces replication files like 0000000100000009000000F1 which I ftp to the states
I also have a database system running Postgresql 9.1 in the states which I want to replicate the Europe data into
My stateside production DB is running Postgresql 14 - this is where this data needs to eventually reside
The db in step 3 was setup because I cannot replicate from 9.1 to 14 - at least as far as I know, it cannot be done
A. Is there some way I can jump from step 2 to 4 (pg 9.1 to 14) without step 3?
B. If not, is there a less painful way to get the data from step 3 to step 4 without exporting and importing data - there will be PK collisions otherwise?
Thank you.
Osupa
I thought I could get the actual database ddl statements from the shipping log wal files and apply those manually to pg 14 - had done something like this in MS SQLserver moons years ago. No dice

Lotus Notes ODBC not found on Windows 10

User want me to update Lotus Notes data through an excel file. One way for me to do this is to import the excel data read through it then do an update. Unfortunately my machine (Windows 10) has no ODBC of Lotus Notes(8.5 ver) therefore I cant connect to the DB and do some update queries. Tried to search in google but I cant find any LN ODBC installer. Does windows 10 still support this ver. of Lotus Notes? Also, is there any other way that I can update the LN Data through imported excel data?
Thanks in advance for your response.
The Notes ODBC driver has always been an extra installer that has to be downloaded from IBM. You need credentials and a passport advantage contract or something similar to be allowed to download the driver. But there are a lot better ways to update Notes Databases from an excel file: use COM or OLE classes to directly write to the database.

Teradata sample database

I have installed vmware player and added the disk file to it. Teradata studio is already installed in it. Now, I want create a database of good size to perform bulk load types in Teradata.
Where can I get the sample database?
I assume that you are asking about the software part to create an instance of Teradata database. If you have VMware downloaded from Teradata for evaluation purpose, it is already installed and configured. You just have to connect with your Studio.
If you are trying to create a virtual environment on your own, then you need to download the Teradata software and install in machine which will create a database. After installing the software you can configure and connect with Studio.
Teradata Express comes with toy data (Samples database) but only up to version 14. From version 15 it is (oddly) removed.
Your VM-Ware is fully configured. Sart your TD-Studio and connect to it.
From VM-Ware's TD-Studio it is TDPID: localhost od 127.0.0.1 User dbc pass dbc
There are no more sample databases in Teradata Express, but I published several data sets on GitHub, see the blog on Teradata Community

What is the best way to migrate or export/import data from Microsoft AX4 to AX7

On the one side I have a working AX4 environment and now want to upgrade to the new AX7.
Therefore we need some tables of the database to be imported or migrated to the new one.
What is the best way to achieve that?
There is no direct upgrade path from AX4 to AX7 (AFAIK), nor is there a way to directly move objects.
How many objects need migrated? You're essentially left with two options.
XPO objects into AX 2012 staging environment, then upload the AX 2012 modelstore to LCS and that will migrate the code and create the migration project in AX7 (See https://ax.help.dynamics.com/en/wiki/upg101-preparing-for-migration/)
Recreate the objects by hand :(
A little more detail on (1.) is in AX 2012, instead of the code being stored on disk in a bunch of layer files, it's stored in a separate SQL database. And a modelstore is conceptually a *.bak file of that database. So when you import an XPO into AX 4.0 CUS layer, it ends up in axCUS.aod; likewise when you import an XPO in AX 2012, it ends up in the modelstore in the CUS layer.
To uplift code in AX7 from AX12, you basically take that *.modelstore file and .zip (compress) it and upload it on lcs.dynamics.com. You also must connect LCS to VSO (visual studio online), because it creates tasks and things to do.
You then wait a while (usually about an hour, but I've had it take 1-2 days when they were changing the framework), then you have the objects in VSO and you can sync them to your AX7 environment.
EDIT: Regarding data from AX 4.0...I'm definitely not yet an expert on getting data into AX7 but they generally push data entities, which are essentially an abstraction of parts of the database. If it's one-time data moves, you can possibly use the Excel data connector.
See these resource:
http://msdax7.blogspot.com/2016/02/open-to-excel-in-microsoft-dynamics-ax.html
http://msdax7.blogspot.com/2016/02/exportimport-data-using-data-management.html
https://ax.help.dynamics.com/en/wiki/data-entities/

Oracle 11 g release 2 sample schema

I installed Oracle 11g Release 2 on a windows 7 laptop and created a database using DBCA. In one screen there is an option to create sample schema but it was greyed out so I could not select it.
I searched the dbhome\demo\schema\human_resources directory but there is only one file in it -
hr_code.sql(It created triggers in hr schema). There is no sql to create hr schema or populate schema tables. I searched the net to download the scripts but no idea where to get them. Can you help me
You can download the script from here.
Are you referring to the ASP.Net Membership / Role / etc schema? It's in <oraclehome><11g>\ASP.NET\SQL

Resources