Warning message when using Dynamic cursor - - response (1) by dnoeth
Hi Ganesan, just switch it off if BTEQ returns an errorlevel greater zero to the shell: .SET ERRORLEVEL 3212 SEVERITY 0; Dieter
View ArticleProblem with title line when using .export report - response (1) by dnoeth
What do you expect? There's only one column in your output, the column name is automatically created and the optimizer tends to add a lot of brackets. If you want the fieldnames you have to write...
View ArticleHybrid columnar automatic format - response (1) by dnoeth
I would suggest reading the manuals, there should be lots of details in the DDL and the Database Design manuals plus the Columnar Orange Book. Dieter
View ArticleUnique gapless ID:s from system - how to? - response (1) by dnoeth
The only way to get a gapless sequence is to do it on your own with ROW_NUMBER like select row_number() over (order by whatever) + coalesce((select min(seq) from tab), 0) as seq .... from tab Instead...
View ArticleTrying to round result of a computation to 2 digits of precision - response...
What is the maximum values returned by that calculation? I would not use FLOAT as it's precision is limited to approx. 15 digits. Better use DECIMAL instead, which supports up to 38 digits. Dieter
View ArticleLocking of the DBC tables - response (1) by dnoeth
There's no information about locks in DBQL, you need to enable Locking Logger for this. If you want to check the current locks you might use the PMON API UDFs in syslib like MonitorSessions. Dieter
View Articletuning the Skewed joins - response (1) by dnoeth
Hi Suresh, a typical solution would duplicate the query, the first with a condition "WHERE col = skewed_value" and the other "WHERE col <> skewed_value" and UNION ALL both selects. Of course the...
View Articletuning the Skewed joins - response (2) by ToddAWalter
Try first with stats on the column. The extremely skewed values can be dealt with by the optimizer by creating alternate plans. If that does not work, then follow Dieters advice. Hint: if you have a...
View ArticleHybrid columnar automatic format - response (2) by ToddAWalter
Teradata does not automatically determine if a table should be row format or column format. That needs to be specified by the DBA at physical table definition time. The examples you provide show a...
View ArticleNeed to set Return Code upon "EOF on stdin" - forum topic by JimmyLee
I am experiencing a sporadic problem with BTEQ skipping all the commands from STDIN. The script is a shell script that does a bunch of set up and then calls BTEQ, piping in the commands that are in the...
View ArticleConvert Varbyte to Character - response (4) by suhailmemon84
Hi JPORELL/FRED, I know this post was back in 2006, but I'm really in search of a UDF or some method within teradata to convert varbyte to varchar. So I'm hoping you guys can help me out. My primary...
View ArticleWarning message when using Dynamic cursor - - response (2) by kganesan
Dieter, Thanks for your inputs, Is there any way to suppress at the procedure level. Thanks in advance, Ganesan K
View ArticlePMP Training Institutes chennai - forum topic by nishtha123
PMP certification exam questions are created by other professionals who already have achieved PMP® certification.Given the rigorous and comprehensive PMP® certification testing requirements, PMP®...
View ArticleWarning message when using Dynamic cursor - - response (3) by dnoeth
Hi Ganesan, in a SP simply add a CONTINUE HANDLER. Dieter
View ArticleData Transfer using TPT - forum topic by meet_as
HI, I have two Teradata server, Say A and B. The TPT is licensed for server A only. Server A has TD 14 installed and server B has TD 12.0 installed. Can I transfer the Data from A to B using TPT...
View ArticleTeradata basics - forum topic by oracle.bhadram
Hi, I am new to Teradata. Please suggest me any book , url for basics.Forums: Database
View ArticleDDL Statement , Dynamic SQL in a FOR cursor LOOP -SQLCODE 3772 - forum topic...
I'm fairly new to teradata and stuck. I'm using Teradata Studio. Connection is ANSI MODE - I believe this is significant. It looks like I have noway to execute DDL statement as part of a FOR CURSOR...
View ArticleteradataR package and R 3.0.0 - forum topic by gstoel
Hi All, I am new to Teradata and trying to get my connection from R to work... I am running R 3.0.0 and installing the package through install.packages("~/Downloads/teradataR_1.0.1.zip", repos = NULL)...
View ArticleTeradata basics - response (1) by pawan0608
Download the Book "Introduction to Teradata" for understaning basic conepts architecture of teradata and from Below...
View ArticleSession Pooling - forum topic by Kishore_1
A session pool is a whole bunch of sessions that are logged on to Teradata using the same logon string. A session pool is started by a START POOL command and this command is initiated by the...
View Article