Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 25 Feb 2003 @ 15:26:56 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Batch driven use of Queryman
 
From:   John Hall

It comes with the Teradata Demo. On my laptop, I can just start a DOS box and simply type bteq at the prompt.

You can put your script into a file (whatever extension you like) and submit it with:

bteq < script.btq

where the file 'script.btq' looks something like:

.logon dbc,dbc;
sel date, time, user;
show table dbc.accessrights;
sel count(*) from dbc.tvfields;
.quit

you can also put the results into a file:

bteq < script.btq > results.txt

A manual can be found at the NCR:

www.info.ncr.com



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016