How to find a particular table in Teradata is locked using SQL query? -...
@Sudipta: There's no table with lock information, but you might use the UDF interface to PMon data in the syslib database: MonitorSession plus IdentifyTable/User/Session @trustngs: HUT locks are...
View ArticleHow to find a particular table in Teradata is locked using SQL query? -...
Thanks Dieter. Got clarified now.
View ArticleQuery Rewriting. - response (2) by dnoeth
Yes, both seem to do the same, but why do you create a Volatile Table instead if directly using it in a Derived Table? I'm not shure but you probably want the minimum Lvl_Nbr for the maximum...
View ArticleTeradata Error: 3807 - Updating a View - forum topic by anandc
Hi All I am trying to update a view which is built on a table and I am receiving the following error. But my table and view is properly setup... Before updating, I am setting the database to my default...
View ArticleTeradata Error: 3807 - Updating a View - response (1) by anandc
Its very strange... I removed the Alias name from the Select statement in the View DDL and it worked...Previously my DDL was like REPLACE VIEW <VIEWNAME> (Col1, Col2, Col3....) as SELECT (f.Col1,...
View ArticleQuery Rewriting. - response (3) by barani_sachin
Thanks Dieter for u r help & time :) The data volume was around 30 to 40 million so thought that inserting into volatile table and collecting stats might help reduce the execution time. Yes...
View ArticleCan anyone please let me know the internal process for alter table . - forum...
Can anyone please let me know the internal process for alter table . How the database alter a table with the alter table command .Will it create a temporary table internally to process.Forums: Database
View ArticleDATE Index in Teradata - forum topic by mithunk
Hi , I create a volatile table as mentioned below CREATE MULTISET VOLATILE TABLE temp_table ( col1 BIGINT , start_dt DATE )ON COMMIT PRESERVE ROWS;I have to first create an index on col1 then...
View ArticleError while casting to decimal! - response (7) by barani_sachin
Dieter, First i tried WHERE a25 <> cast(cast(a25 as varchar(100)) as dec(38,2)) and got so many rows as mismatch. And now i am more confused than ever. All the 0.00 columns have been converted...
View ArticleError while casting to decimal! - response (8) by dnoeth
What patch level are you running? There have been a few Tech Alerts regarding NUMBERs and calculation/cast/rounding, you probably run into one of them. Most are fixed, but this is open: NT3194 Rounding...
View ArticleCast CHAR/VARCHAR to VARBYTE - response (4) by dnoeth
Searching for a given ASSII code in a string? Why don't you use the existing string function? POSITION('0A'xc in str) or WHERE str LIKE '%'||'0A'xc||'%' Dieter
View ArticleCast CHAR/VARCHAR to VARBYTE - response (5) by veskojl
Thanks Dieter, but I want to apply a mask to the string, not just one ascii code.
View ArticleCast CHAR/VARCHAR to VARBYTE - response (6) by dnoeth
I want to use the BYTE/BIT manipulation functions on a string column I want to search it, checking if it contains given ASCII code or not. Could you elaborate what you're actually trying to do. On...
View ArticleError while casting to decimal! - response (10) by barani_sachin
Asusual Thanks Dieter for u r timely replies :) This is the DB release info. RELEASE 14.00.03.01 VERSION 14.00.03.02 LANGUAGE SUPPORT MODE Standard. Where can we get all the information about the bugs...
View ArticleError while casting to decimal! - response (11) by dnoeth
Ask your DBA, he should have access to the Tech Alerts etc. using Teradata@YourService. Dieter
View ArticleCast CHAR/VARCHAR to VARBYTE - response (7) by veskojl
Dieter, those two statements are not mutually exclusive. Thanks, I'll do it on my own.
View ArticleFULL PRIMARY INDEX - response (2) by Enzopre
Hi dnoeth, thanks for the immediate response. Sorry, but I have not all clear and I have an other request for you. If we do an INSERT operation where do we specify the full primary index? ...INSERT...
View ArticleCommon Table Expression Within View - response (1) by ddracod
Hi ~ I'm wondering if someone had answered this question, because I'm running into the same problem. To simplify the code, this is what I'm trying to do and getting the same error message:CREATE VIEW...
View ArticleDATE Index in Teradata - response (1) by mithunk
I saw this DATE index in sybase. In teradata should we use the PPI ? Please clarify.
View ArticleRevoking All Access Rights For Users - response (4) by super25
is it possible to revoke access to everyone on a database?
View Article