Quantcast
Channel: Teradata Forums - Database
Browsing all 14773 articles
Browse latest View live

TIME (0) field converted to INTEGER - response (2) by dnoeth

As Carlos said, change the DataTime Format to AAA instead of the old default of III. Or mark the "Disable Parsing" option in ODBC, this also switches off other ODBC syntax like the LENGHT, MONTH or...

View Article


How to exit a SP? - response (3) by dnoeth

You want to return a result set from the SP? In that case you should be able to LEAVE, because AFAIK this only closes real cursors. Dieter

View Article


Create database and database space concepts - response (3) by dnoeth

Hi Usmans, no, you can't. At least not without reducing the max perm assigned to the 500GB database. The PERM for a new database/user is always substracted from the database/user in the FROM option....

View Article

Transpose columns to rows - forum topic by Chandrashekarks

Hi All,         Here is scenario: Cust   Act_cnt  Act1   Act2  Act3  Act4  Act5  ....... Act15 A          2          A01    A02   ?       ?      ?  ...............? B          1          B01     ?...

View Article

SQL Syntax - response (7) by dnoeth

You should post new questions as new posts. And your question is unspecific, which tool? In SQLA there's already a shortcut, CTRL-D. Dieter

View Article


Transpose columns to rows - response (1) by dnoeth

Hi Chandrashekar, you should avoid recursion for stuff like that, it will result in huge spool usage. There are two common solutions for: select cust, act1 as accnt from tab where act1 is not null...

View Article

TIME (0) field converted to INTEGER - response (3) by Nishant.Bhardwaj

Hi Dieter, Out of curiousity of the above problem ,  In order to change the Datetime format to AAA  in SQLA,  I went in Tools -->options-->General--> datetime format but i was not allowed to...

View Article

How to exit a SP? - response (4) by barani_sachin

Yes Dieter, i want to retun a resultset; And leave is workign fine and returnign the resultsets. Thanks all :)

View Article


TIME (0) field converted to INTEGER - response (4) by dnoeth

Hi Nishant, both are ODBC options, you'll find them on the default options page for your data source. Btw, when you switch to .NET you get this by default, it's faster and the editor is showing the...

View Article


TIME (0) field converted to INTEGER - response (5) by Nishant.Bhardwaj

Ok Got it... thanks! So i belive If we execute the above tables in BTEQ then there wont be such kind of issues in creating TIME  datatype as there is no cocncept of ODBC connectivity in BTEQ. Please...

View Article

TIME (0) field converted to INTEGER - response (6) by dnoeth

Hi Nishant, yes, only ODBC is behaving this way, any other connection type, either CLI, .NET or JDBC don't have that problem. Dieter

View Article

Incremental Backup - forum topic by macktd

Hello Experts,Give, A sample Incremental Backup script for permanent Journal.Thanks & Regards, mackTags: Incremental backup ScriptForums: Database

View Article

Some Qs on Stored Procedure - forum topic by sachin.sebastian

Hi, I have couple of qs on SP. Could you please through some light on them? 1) The RequestText field in DBC.Tables does not show the definition of a SP (NULL); while some SPs show values like "ALTER...

View Article


Some Qs on Stored Procedure - response (1) by dnoeth

Q1: The source code of a SP is never logged to any system table. The ALTER was probably after a upgrade to a new release, there's a script to recreate the existing SPs. Q2: '.compile filename' is just...

View Article

Stored Procedure Vs Bteq - response (2) by rajeev saravanan

Hi All, Any help on the above would be very useful. looking forward Thanks R.Rajeev 

View Article


Transpose columns to rows - response (2) by Chandrashekarks

Thanks Dieter for the solution.

View Article

how know the difference between compress table and general table ? - response...

This is current as of 13.10, I'm not sure whats available in 14.0. It depends which type of compression you're talking about.  There are 3 main types of compression Multi-Value Compression(MVC),...

View Article


Truncation of Data while Bteq Export - response (7) by rajanimandava

Can you please try the below  .EXPORT RESET

View Article

query for getting elapsed time - response (3) by MBR

Hi all Thanks for replying its working fine... Regards 

View Article

Value ordered NUSI - forum topic by Moutusi

  I have some doubts on value ordered NUSI. 1.       Can we create a NUSI on a column that already has a Value-Ordered NUSI defined on the same column? In that case will it have different sub-tables?...

View Article
Browsing all 14773 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>