Why Plug-In Meta Data Import truncate table names? - datastage

I'm using Datastage 11.3.
When I try to import table definition via "Plug-In Meta Data Import", it truncates too long table names.
There is a way to prevents it from doing this?
I'm using the wizard, but if I want to use plug-in I still get the same problem.

Related

Exporting Sqlite Tables to a File and Reimporting It in Flutter

Is there a way to one click export and import Sqlite tables? I don't really have any code to show, since it's a simple Sqlite table with rows and columns. Is there a one click (onTap) solution in Flutter to export and import the whole table?
There is no magic that you can use it with a single line of code, but you can use a package, something like this:
https://github.com/tekartik/sqflite_more/tree/master/sqflite_porter
https://github.com/tekartik/sqflite_more

PowerDesigner : Import table structure with columns and types with Excel

I'm trying to find a way for import my structures in Powerdesigner with Excel.
There is an option for importing Excel file so it possible but noway...
I don't know how must be the Excel file, can I find a template somewhere ?
Have you ever success to import this kind of files or are we forced to write manually each columns from each tables ?
Thanks for your help
I have never used it, so I am not sure that my way is the right way...
Via Model>Extensions>Attach An extension, attach the Excel Import to your model.
You can now find Excel Import File in the contextual menu of your model in the Browser.
Here is my sample Excel file:
<Sheet1>
Name,Code
A,AA
B,BB
<Sheet2>
Name,Code,Table
C,CC,A
D,DD,B
E,EE,F
I launch Excel Import File, select my Excel file.
I import the table Sheet1 as Table, and use the default mapping Name to Name, and Code to Code...
I import the table Sheet2 as Table.Column, and use the default mappings Name to Name, Code to Code, Table to "Parent"
And I get these tables (I have also selected the Create Symbols in Active Diagram option).
Open the Model menu, go to (for instance) Tables, then you will see an Excel icon on the overview. Click that and it will allow you to export the list to Excel. The Excel export has the exact same format as your input needs to be in order to automatically map to the correct columns.

phpMyAdmin -- import one table into existing database

I have a new table I want to add to an existing db, the structure of which I exported to a file table.sql.
table.sql has 75 columns, so naturally I would rather find a way to copy/import the structure into the existing db than creating a new table and manually defining each of the 75 fields.
Is there a way to import this table structure into my database mydb (which is populated with data)? There has to be -- this is computing. I am staring at phpmyadmin and can't figure out how to do this.
Any suggestions would be welcome.
Thanks in advance.
okay, figured out how to do it. I just opened the exported .sql file, and copied/pasted the "CREATE TABLE..." statement into the DB's SQL window in phpMyAdmin and it worked -- I now have that new 75-column table.
But I'm still a bit mystified over why phpmyadmin gave a success message when I tried to import the .sql file but did not display the allegedly imported table.
There is an Import tab in phpMyAdmin.
Open the database you would like to import into, then click on the "Import" tab and upload your file.
You can learn more here: http://www.techrepublic.com/blog/smb-technologist/import-and-export-databases-using-phpmyadmin/
An alternate way would be to copy the mySQL statement(s) in your table.sql file, open the "SQL" tab, paste it in the box, and then the run the query.
I hope this helps!
It's easy. You should choose your database then in the Import tab, select choose file. Select your file then press Go. It worked for me. You can find the new table in your database.

Kentico Import Toolkit 8.1

I am currently using the Kentico Import Toolkit to create documents in the tree.
At this point, I have imported around 100 documents using the toolkit, and they are all located at the correct place in the tree. Now the issue/concern that I had was, as I have imported these documents, my spreadsheet has been updated, so extra fields and data were added, so how do I go about importing this extra data into the currently existing documents? Also just bear in mind I don't want other fields or data to be affected by this, as some of the documents were updated with some other content by the content editors using CMS Desk, which isn't available in the spreadsheet.
Import toolkit is not the right tool to achieve this task. Even if you select "Import new and overwrite existing pages" it'll overwrite most of your columns. Actually it only preserves system and id columns from the existing documents - all other columns get overwritten.
Either you can write a piece of custom code or you can try following:
Open SSMS and navigate to the coupled table of your page type (something like CONTENT_MyDocType). This is where your custom columns are stored.
Right click -> Edit top 200 rows
Click "Show SQL Pane"
Adjust the columns, ORDER BY and WHERE clause to match your excel file, re-run the query
Select desired rows in your excel file and copy them to clipboard
Paste the data in the SSMS
rocky is right, Import Toolkit is meant for importing complete objects, not partial/continuous update.
You could map the fields that you know are not changed in the spreadsheet to a SQL query selecting the value from the target database.
To achieve this, just insert #<target> at the beginning of the SQL select statement you will be mapping the field to.
It will be rather laborious though and it also requires certain knowledge about the nature of the spreadsheet changes.

Is it possible to create table templates in Filemaker?

I'm using Filemaker Pro 12 and I was wondering if there is a way of creating a template for tables. There are a number of fields I'm placing in my tables that are identical utility-fields like modification time-stamp, active/inactive flags, etc. I was hoping there was a way that I could define the skeleton of each table somehow instead of having to manually add these identical fields every time.
If you are using the Advanced version, you can copy&paste fields among tables/files.
Using the regular version, you can import records from your "default" table and specify [New Table...] as the target table. This will recreate the source table's structure in the target file. The source table does not have to contain any records for this to work.
To expand a little bit on michael-hor257k's answer, if you're using FileMaker Pro Advanced, a good practice is to create a "Default" table that has your core utility fields. When you want to make a new table in Manage Database, instead:
Highlight the Default table,
Copy & Paste the table, then
Rename the new table.