Is it possible to export data from Teradata Studio in a sorted order using Fastexport?
We are using Teradata Studio version 16.10.
Thank you.
I have now concluded that you cannot really modify this in Teradata Studio (but obviously create a Fastexport script in which you order by and then just invoke it from fexp)
Related
It is possible to run a R script with Pentaho, but instead of export the result as a csv file, insert the result directly into a table on a DB?
Using the Community Edition of Pentaho, you could use a script executor step to execute a shell script in your OS to do all the work, including inserting to the database, which is not much Pentaho related, all the work is done by the shell script and you just use Pentaho to call the execution of that script.
There's also a very old plugin available in Github that I don't know if it would work with modern versions of Pentaho and R, to execute R code within Pentaho and then continue the stream of data to "normal" steps like the table output to insert the data to a table.
These are the details to configure that plugin from the developers:
http://dekarlab.de/wp/?p=5
I am using Sqlite 3.32.3. I imported data into a table (rover) with SQLiteStudio 3.2.1. I want to use UPSERT to update existing rows and insert new rows. As a test, I'm using the statement below to update a single existing row. It does not work in the SQLiteStudio sql editor but it does work in the native SQLite3 terminal interface. I'm using OSX 10.14.6. Is this a limitation of SQLiteStudio or am I missing something?
INSERT INTO rover ([Employee Number], DeleteDate)
VALUES ('97763','2020-06-24')
ON CONFLICT ([Employee Number])
DO UPDATE SET DeleteDate = excluded.DeleteDate;
The .version command you used was in terminal infertace and it is version used by terminal binary. SQLiteStudio in version 3.2.1 uses SQLite 3.22.0 on MacOS X, unfortunately (See menu SQLiteStudio -> About -> Environment tab).
That being said, fortunately, you can replace SQLite library file used by SQLtieStudio. Just take libsqlite3.0.dylib from your system (or if you maybe compiled your own) and replace the existin one in SQLiteStudio.app/Contents/Frameworks/. It's important that the new library has Loadable Extensions compile-time option enabled, cause SQLiteSTudio uses it.
SQLiteStudio 3.2.2 (to be released) will have up to date SQLite.
I want my results to open in an excel file when I run a query in Teradata Studio Express. Teradata Sql Assistant had this option, where you go and click on "export" option and whenever you run a query the resultset is always exported into an excel file. I am unable to see this option in Studio Express. Please note, my result set is populated in the Teradata Result Set Viewer, and I can export it from there but what I am looking for is to export it directly into an excel file, rather than viewing it here in teradata studio Express, when the query is run.
The SQL Editor view has an Export Results button located in the toolbar of the Editor. I tried to use it in 16.20.07 this evening to verify its behavior but encountered an internal error with a component of Studio Express. I can see that it is attempting to initiate a JDBC FastExport to route the results to the specified Excel file.
Perhaps you will have more success using this feature in Studio Express. Nevertheless, the feature is present.
Can I use R scripts in USQL while working on local microsoft studio? All documents that i can find are related to Azure execution only.-
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/data-lake-analytics/data-lake-analytics-u-sql-r-extensions.md
Till last year, this was not done. Any Idea if we can use R scripts in Visual Studio( USQL project) now ?
https://social.msdn.microsoft.com/Forums/en-US/938d423f-b163-4273-87af-cc0af7b301ec/r-in-adla-script?forum=AzureDataLake
Yes, please see Enabling U-SQL Advanced Analytics for Local Execution.
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