Why there is no sales_order table in phpmyadmin magento 2 database or is it there with different naming conventions?
http://anna.voelkl.at/uploads/magento/ce1922.png shows tables in a diagram, I can see sales_flat_order table for instance. Also sales_order_* something. Hope that helps.
Related
I have a Postgresql database - Finance, that has 2 tables - Institutions and Investment. An investment is linked to an institution name and there is a foreign key constraint that links these 2 tables (inst_name in Institutions and Investment).
I connected this database to Libreoffice Base and created a form from wizard on Investment table. I tried to replace the institution field in this form with a list box so that I can create a lookup to the institution master. However when I go to replace with field, it shows no selections possible.
Alternatively, is there any way to build a lookup in the form?
Thanks in advance
Sachin
Apparently the issue was an old version of Libreoffice.
After upgrading to the latest version, I was able to add a lookup field.
I am following the standard steps to create date dimension in SSAS here-
The generate schema option fails! this is the message from schema generation wizard
create failed for table myusername.dimdate
I think the problem is that the table should be created for a different schema. If below is the selected option for schema generation -
Subject Area
Data source view: ABC PROJ
**Schema: ABC_PROJ(WXY1230)**
Data will be preserved
Time table will be populated
Shouldn't the Dimdate table be created ABC_PROF(WXY1230).Dimdate and not under myusername.DimDate?
Any idea what could be missing? I have been struggling with this for hours now.
Thanks for any help.
I think that is an unfortunate bug in the SSAS generated date dimension. When you generate the dimension you are using your Windows credentials and SSAS uses the default schema for the user context it was provided. I believe your user has a default schema of myusername on that database, which is what is causing the date dimesion to be created there.
If you create the dimension, you have the option to generate the schema now or generate it later. If you choose to generate it later and go through the Schema Generation Wizard, you eventually see a screen that shows the Owning Schema.
. There is no mechanism to change it even though you can see it (At least not in SSDT. I don't have BIDS on any of my machines). You are not the only person to run into this issue.
So you have a few options as a workaround:
Use a different account that has a default schema that is the correct schema where you want to place your date table.
Create the table under your default user and populate it. Then alter the table in SQL Server to move it to the correct schema. Then update your DSV.
Don't use SSAS to generate your date dimension. There are plenty of scripts out there that create great date dimensions. Here's an example. This means you will need to create the dimension and build the hierarchy yourself, but it's not that much work compared to the time you've spent trying to fix this issue.
The table with blue header is normal mysql table, while the one with yellow header is view table. I used reversed engineering to import these tables into mysql workbench and trying to place relationship among them using existing columns, but I can't expand and see the columns of view table.
It is the limitation of mysql workbench, or actually it is possible to expand the view table? If it is able to expand, can someone please guide me on this?
Thanks!!
This is currently a limitatiion and, to my surprise, not something that people requested in the past. If you like you can open a feature request at http://bugs.mysql.com to get this implemented.
It is more of an annoyance rather than real issue: when in Crystal reports you change the data source to one with different name (and do all the linking old columns to new columns) all the table names in Field explorer and (obviously) in formulas are changed. But the Database expert still shows the old table/view name!
Let me show this on example: Lets say I change TABLE_1 with column EQUIPMENT to VIEW_1 with column UNIT. Via the datasource location I can do the substitution and link old column EQUIPMENT to new one - UNIT.
But when I check either Datasource location or database expert it will be still showing old TABLE_1 (if you check the columns in the link tab you will notice that the TABLE_1 has now column UNIT instead of EQUIPMENT).
This can be quite annoying and frankly bit dangerous, especially if you return to report after a longer while. Is there somewhere a setting that allows to autoupdate table names in the database expert?
When you create the report it will create tables and each table will be linked to a datasource table. So the report table will have a name and datasource , which might be the same. When you change the datasource the datasource of the table will be updated but the report table name will remain the same. Think about this name as an alias. It might differs from th datasource name if you use the same table multiple times
I don't think there is auto update option in crystal reports but one thing you can do is to use Verify Database option under Database tab whenever you update the tables.
You need to manually edit table names in Database expert, there's no automatic way (and like Lan already answered, it is generally not possible).
I have created a crystal report and imported 3 tables and also set relationship between them using Standard Report Creation Wizard. Now I want to change relationship between tables. But how can I change it? (e.g. how to start Standard Report Creation Wizard again?)
Database | Database Expert... to
adding and removing tables
changing table names
modifying linkage
creating a Command (a 'raw' SQL statement)
Database | Set Location... to:
change the data source (change from one database instance to another) for main and subreports
see the details of each table's connection
You use the Database Expert to do this. The place where you do this is easy to miss. There's another tab in the Database Expert that lets you view/modify links.
It's here: