Date variable to be applied to all date prompts - Teradata - response (4) by...
Hi Peter, just you run the query (F5). An input dialog will pop up where you key in the date. Dieter
View ArticleDelete or Drop a table if it already exists - response (3) by dnoeth
Since 13.10 SQLA supports some basic conditional logic using BTEQ syntax: http://developer.teradata.com/note/828 select 1 from dbc.TablesV where databasename = database and TabkeName = 'table_x'; .if...
View ArticleProvisioning more space - response (1) by dnoeth
Hi Ben, this is done through TDput (Teradata Parallel Upgrade Tool), it's probably using the RECONFIG utility. Check the manuals for details. Btw, usually adding diskspace means adding a new node not...
View ArticleDBQL SQLTextInfo 3577: row size or sort key size overflow - response (5) by...
Hi Roopalini, it's probably because Studio uses a UNICODE charset, too. Check the definition of the tables if they include some large VarChars in LATIN. Dieter
View ArticleSQL Query output from DBC table volatile - topic by vikramachandran
Hi All - Newbie to teradata forums. Here is my problem statement/solution and problem with the solution out put. Problem: The data type of a important surrogate key field is to be changed from INTEGER...
View ArticleMVC Ordering? - response (1) by stevemogilevski
not sure what are you asking here, but in compressed lists order of values is irrelevant.
View ArticleResponsibility – Definition FREESPACE - response (2) by G_Smith
Dieter, thank you for your attention. In many environments that I worked really were not set up tables with parameter FREESPACE, but I always think of it as a failure. Should represent a highly...
View ArticleResponsibility – Definition FREESPACE - response (3) by dnoeth
Of course it might avoid cylinder migrates/splits, but only for large tables which are: - non-partitioned and you insert/delete a small percentage of the data regularly - initially loaded (then you...
View ArticleStored Procedure Compile Errors - topic by sdmody83
Hi, I have a complex Stored Procedure. When I compile it using teradata SQL Assistant ( ODBC) it works & runs fine. However , when I use the same piece of code and run it on Teradata Studio...
View ArticleProvisioning more space - response (2) by tdgi
Hi! Thanks for the response! So, you're saying that most of the time, if you need more disk space, you add a node? So one doens't usually grow a pdisk LUN or adds a pdisk to an existing AMP? Is it...
View ArticleSpace in the database - topic by KS42982
Hi, I have couple of questions regarding database space. 1) how to find out how much space has been left in an existing database ? I know how to find out the total allocated space to the database but...
View ArticleDelete or Drop a table if it already exists - response (4) by DataHead
Hi Waq, I want to avoid having the code stop about 20 times to tell me that the table already exists...
View ArticleDate variable to be applied to all date prompts - Teradata - response (5) by...
Thanks but I want to allocate a variable value somewhere in SQL Assistant - example "Date_Month" & then add "?Date_Month" wherever the script needs date input. I have about 20 places that need the...
View ArticleDelete or Drop a table if it already exists - response (5) by DataHead
Thanks Dieter, I have added my database & table as per below; select 1 from C917348.ACCT_BASE where database = C917348 and table = 'ACCT_BASE' .if activitycount = 0 then GoTo ok DROP TABLE...
View ArticleShould a SCD table contain a UPI including date fields or use a natural key?...
At my new company we rarely use UPI and instead generally use a PI on 1 column and use a "Natural Key". IE: TABLE: acct_id, acct_typ, start_dt, end_dt, cur_in, rcv_in, metric1, metric2, metric3 With a...
View ArticleDelete or Drop a table if it already exists - response (6) by dnoeth
The Select queries the system tables if the ACCT_BASE table exists select 1 from dbc.TablesV where databasename = 'C917348' and TableName = 'ACCT_BASE'; .if activitycount = 0 then GoTo ok drop table...
View ArticleDelete or Drop a table if it already exists - response (7) by VandeBergB
DH, This sounds like a perfect use for a Global Temp table in your code. The structure of the table stays in the DD after you log off, eliminating the need to run all that create volatile table...
View ArticleHow TD Analytical Functions Are Implemented? - topic by jodba
Hi everybody, Could anybody tell me how TD analytical functions are implemented under the hub? It is obvious, after running some basic tests, that they are not using the standard Teradata aggregation...
View ArticleStored Procedure Compile Errors - response (1) by KS42982
Not sure whether you have seen the below article on Studio Express - http://developer.teradata.com/tools/articles/teradata-studio-express If you check the discussion at the end of the article, someone...
View Article