I'm new to Teradata. We can run the Netezza SQL in Unix by using "nzsql" command.
nzsql -host hostname -u username -pw password -db Databasename -c "select * from table_name"
What is the command like this, so that we could use to run Teradata SQL in Unix?
Example of bteq script from the documentation:
I m not sure about your question. Since it is NZSQL for you and you made it TDSQL I think. The above script is just an example I highlighted. There are other ways too. We can do in interactive and batch mode.
You can try login to TD bteq say , supplying username, password. For Oracle, SQL server, sybase.... the ways are different for each DB.
Maybe you can read the manual or broswe this link and give you an insight :