Import excel file to wordpress database - wordpress

i have an excel file exported from MSSQL Server that contains users & emails & orders
i want to import the users to word press i tried customer import export plugin
but with no luck at all it gives me an error
any guidance on how can i achieve this ?
or is it achievable in the 1st place ?
here is the excel file
https://gofile.io/?c=XQYZl4

This can be done if you transform the excel file into an csv one, comma separated
I'm not sure that you can import into multiple tables at once, but if you reorder your file and construct a csv correctly for each entity it might work.
To have an great template example of how to the csv should be created i suggest using the export functionality from wordpress and copy-paste-ing your data into that template.
*also i suggest using google spreadsheets for editing the csv and after the file is ready, you should export as csv comma separated

Related

Update a CSV table in SQLite Studio

I have a bunch of CSVs that get updated locally on my computer every few days. I want to refresh them in SQLite Studio but I can't find out where to actually refresh. Is there an option to do this? The only way i've been able to refresh is to fully delete the table, and then re-import it under the same name (so the query still works). All of the CSVs and Sqlite Studio are local on my computer I am not running anything remote.
CSV file is not linked in any way with SQLiteStudio. Once you import data to table, it is in table, not in CSV file. If you want to refresh contents of table with data from CSV files, then you need to do exactly what you already do, that is re-import.
An useful tool to make this repeatable task less clumsy is import() SQL function built in SQLiteStudio. You can easily delete old data and re-import new one in single execution:
delete from your_table;
select import('path/to/file.csv', 'CSV', 'your_table', 'UTF-8');
Of course you need to adjust your parameters. Also there can be 5th (optional) parameter specifying importing options, just like in Import Dialog. Quoting from User Manual (https://github.com/pawelsalawa/sqlitestudio/wiki/User_Manual#built-in-sql-functions):
charsets() Returns list of charsets supported by SQLiteStudio (to be used for example in arguments for import() function)
import_formats() Returns list of importing formats supported by SQLiteStudio (depends on import plugins being loaded)
import_options(format) Returns list of currently used importing settings for certain format (the format must be one of formats returned from import_formats()). Each setting in a separate line. Each line is a setting_name=setting_value
import(file, format, table, charset, options) Executes importing process using file for input, format for choosing import plugin (must be one of values returned from import_formats()). The import is done into the table. If table does not exists, it will be created. The charset is optional and must be one of values returned from charsets() (for example 'UTF-8'). It defaults to UTF-8. The options is optional and has to be in the same format as returned from import_options() (which is one option per line, each line is option_name=value), although it's okay to provide only a subset of options - then the rest of settings will remain.

Export hive query output to multiple tabs in excel

When running: hive -e "query" > mysheet.xls, I am able to export the output to a new excel file.
Could you help me with exporting another hive query into already created excel file into different excel sheet? (not overwriting the existing file/data).
Is this possible with hive query? Please help.
The issue here is that you are using stdout redirect >. That will always create a new file. If you use the adding redirect >> that will add to your current file (not creating a new tab in Excel).
That said your query is probably creating a csv file which can be then opened in Excel.
If you are satisfied with your results I recommend generating multiple csv files via script and then merging it either with other script into one big excel file or use directly Excel to merge multiple csv files.
You can use multiple ways to merge it with Excel - one of the possible way is here

Turn Imported Netsuite CSV Files into Contact lists

I was wondering if it was possible to turn an imported CSV in Netsuite into a list of contacts, or leads/prospects that I could send emails to? Seems as of now, it is just an excel file in Netsuite. Is there a way I could turn that excel file into a contact group?
You mean the import tool under setup > Import/Export > Import CSV records? It's on the help docs.
Just mark the contacts with somehting on the comments or a custom field and then make a dynamic group with a search pointing to that reference.

CSV file data in wordpress

I have a .csv file containing list of companies. I want to upload that .csv file so it will update the database, and in WordPress I want to see that data and edit it too.
I tried Custom Post type (ecpt plugin) and created the post type and created the meta-boxes each for one field, but I cannot show those values in the post fields. Can anyone tell me where I am wrong?
Thanks
After you create a custom post type, you need to enter your data.
And you need to make sure your template is coded to display that data.
As far as uploading a CSV, unless ECPT has that capability, you'll to use something like phpmyadmin to import the CSV into the database.

how can i import member in civicrm Drupal

Hi, I have a csv file with all member information. I want to import this file in civicrm. Although i have seen an import option in the civicrm menu, that option is not working for me. I have many other fields which are not present in the import option.
How can i import a csv file in civicrm?
A good way to start is by exporting into a csv and then you can see what the Primary fields are. Do a search then select a contact and on the 'Actions' dropdown box select 'Export Contacts'. A wizard will guide you. Select Primary Fields for you first attempt. Open the exported CSV file in Excel and see about 75 Primary fields. If you need something more you can add custom fields to CiviCRM.
When you want to import your own CSV you will need to map your fields to CiviCRM fields.
Try it on the CiviCRM demo site http://drupal.demo.civicrm.org/

Resources