How to lock set of tables used by Particular Session (Session Level...
you can use BT ET syntax or multistatement request to keep locks till end
View ArticleImporting delimiter text file!!!!!!!! - response (5) by Harpreet Singh
error you are recieving because filename is going as FILENAME, Skip=2; Use quotes for filename when doing skip . try .IMPORT VARTEXT ',' FILE = 'FILENAME', Skip=2; HTH
View ArticleHow to lock set of tables used by Particular Session (Session Level...
Thanks a lot Harpreet and Jim
View ArticleHow to set a defalult width for all of my bteq reports? - topic by katakoti
Hi All, When i generate a report by using bteq, it is consuming some columns. When i give the below statement it works properly. .set width 500; My question is here, how can i set default width...
View ArticlePortlet Error 32 stylesheet limit in IE 8 - response (3) by KontantinK
If I add the CSS-File over the liferay-portlet.xml in the XML-Tag <header-css> the CSS-File is loaded multiple times. The strange think is, that if take the CSS-File path out from the...
View ArticleHow to format a decimal column in Fast Export - topic by chaitanya09
Hi, I have used Fast export script to export data to text file where one of the column has decimal values. I have tries the below to cast it 1) cast(sum(total_cost)as char(21)) and when the sum...
View ArticlePortlet Error 32 stylesheet limit in IE 8 - response (4) by stever
CSS files should not be added to the liferay-portlet.xml file. They should be added in a vp:managedResources tag inside your include.jsp file. By default CSS files are cached for 1 day in Viewpoint....
View ArticleHow to Find Database name using Proxyid/Service id - response (6) by katakoti
Hi Amar, Please try the below query ....... SELECT defaultdatabase,sessionno FROM Dbc.Sessioninfo where username='USR_NAME' ;
View ArticleHow to Find Database name using Proxyid/Service id - response (7) by AmarnathG
Hi Koti.Thanks for reply. Above Query Valid for username. if i use Proxy id, do we have any query to find out name of the database? Thanks AmarnathG
View ArticleDBQL and LOB's - response (1) by tomnolan
Yes, that behavior is expected. The original SQL query is logged in DBQL. The SELECT ? commands are logged separately, and in addition to, the original query. The SELECT ? commands are from the JDBC...
View ArticleHow to set a defalult width for all of my bteq reports? - response (1) by...
I don't think you can set it as a general parameter for BTEQ utility. Just an alternative way would be to write a shell script that should add this line to all the bteq scripts before executing them...
View ArticleDetermine which database is up and running or active? - response (3) by...
If I understand your question correctly then as far as the Teradata nodes are up and running all the databases will be active and up and runnings and users can access the database objects as long as...
View ArticleStored PRocedure to Load Date Dim - response (2) by Qaisar Aftab Kiani
IN_START_DATE is your IN parameter and you are attempting to modify the IN parameter by SET In_Start_Date = cast(current_date as date format 'YYYY-MM-DD') + 1; You can't update the input parameter of a...
View ArticleHow to set a defalult width for all of my bteq reports? - response (2) by dnoeth
Just set the user's STARTUP option which is a SQL statement executed when the user logs on: modify user xxx as startup = '.set width 500;'; Dieter
View ArticleTeradata JDBC Exception - response (5) by jcllings
We are also seeing this. Approximately 10 transactions in 60,000. Of the reasons listed: 1 Teradata Database restart 2 Transient network failure 3 Faulty network hardware 1 Is not the case since it was...
View ArticleHow to Find Database name using Proxyid/Service id - response (8) by katakoti
I think ....Use name is nothing but proxy id....
View ArticleHow to format a decimal column in Fast Export - response (2) by rajeev saravanan
Hi, You can try the following cast( (total_cost (format 'Z(n times)9.9999')) as varchar(n+6)) ; here n - depends on the size defined say for example if you have defined total_cost as decimal(18,2)...
View ArticleFiscal vs. Calendar Issue - Adjusting SYS_CALENDAR to Begin Monday - response...
I need to design a calendar view in which week should be Monday to Sunday whereas in Current Teradata calendar it's Sunday to Monday. I am done with logic for DAY_OF_WEEK column but facing difficulty...
View ArticleHow to use Errorlevel and Activity count in Fast Export like in BTEQ? - topic...
Hi All, Is there a way we can use Errorlevel and Activity Count to set the Return code in Fast Export? I want to set the return code to 8 when there is any error, set RC 4 when Activity count is 0...
View ArticleFast Export Modes And Format - topic by rajeev saravanan
Hi , Could any one help me in understanding the differences between the RECORD and INDICATOR modes and also the different formats available to do fast export ? Thanks in advance
View Article