Quantcast
Browsing all 14773 articles
Browse latest View live

SQL Help : Left join - topic by sunny.j

Hi   im writing a sql  query with Left join  :   sel a.* ,b.ordr_date from   tbl_cust_info  a left join  tbl_ordr_date  b on  a.customer=b.customer  and ( b.ordr_date between a.starting_date and...

View Article


SQL Help : Left join - response (1) by sunny.j

ANY  suggestions about the same

View Article


Tables & Columns in a View - topic by Pat_Benny

Read through forum and couldn't get a clear answer.  New to teradata.... I have about 2000 views I need to break down.  Some views use multiple tables... I can get the column names of the view but not...

View Article

Switching from 12 to 13 Batch file will not save Excel file correctly - topic...

I have a batch file that will launch Teradata run query and save to Excell file, our systems was upgraded to WIN 7 and Teradata 13 the saved Excel file only has one column will all of the query fields....

View Article

SQL Help : Left join - response (2) by Qaisar Aftab Kiani

Queries aborting due to insufficient spool is because the quantity of data that is brought in spool for joining between the two tables is more than the allocated spool space for the user. Mostly this...

View Article


Sharing table or view in multiple ODBC Connections - response (8) by fmartinus

Hi Dieter, Suresh,   Because the database admin somehow manage to have two tables in separate system, which is annoying.   I thought if I spool the output of one server to a volatile table, then...

View Article

varchar to timestamp conversion - topic by sunny.j

Hi   i have a column with date and time in varchar , im trying to convert it to timestamp .   sel cast(''12/25/1994 11:46:29PM'  as timestamp(0) format 'DD-MM-YYYYhh:mi:sst' )   But it showing me an...

View Article

varchar to timestamp conversion - response (1) by dnoeth

In your example day and month are exchanged and you forgot the blank. This should work: sel cast('12/25/1994 11:46:29PM' as timestamp(0) format 'MM-DD-YYYYBhh:mi:sst' )Dieter

View Article


varchar to timestamp conversion - response (2) by sunny.j

i want to extract time from the data and time attribute in the format of  'HH:MI:SS' , but Teradata showing me invalid timestamp

View Article


Sharing table or view in multiple ODBC Connections - response (9) by dnoeth

Yep, you're right, Volatile and Globale Temp tables are only usable within a single session. Dieter

View Article

varchar to timestamp conversion - response (3) by dnoeth

sel cast(cast('12/25/1994 11:46:29PM' as timestamp(0) format 'MM-DD-YYYYBhh:mi:sst' ) as time(0))Dieter

View Article

varchar to timestamp conversion - response (4) by sunny.j

thanks its working .   if my timestamp will be in the format  '20-SEP-12 02.27.45.145000 PM' then the given query is failing with error message invalid time .  

View Article

varchar to timestamp conversion - response (5) by sunny.j

Any quick help please

View Article


varchar to timestamp conversion - response (6) by sunny.j

Any quick help please  

View Article

varchar to timestamp conversion - response (7) by dnoeth

Of course this is failing, it's a totally different format. In each new post there's a different scenario. What do you expect? Teradata automagically casting any kind of timestamp string? Me reading...

View Article


varchar to timestamp conversion - response (8) by sunny.j

its working thank you .   i thought teradata 12  will  able to convert the V2R timestamp format . 

View Article

Roles - Profiles Best Practices - topic by monita_rb

Hi, What do you guys recommend, are the best practices on creating Roles and Profiles? Right now I have 9 different roles according to user's resposibilities, rights and environment, and clearly most...

View Article


How to identify tables that have been Block-level compressed using SQL -...

Hi, Please can some tell me how to identify tables that have been Block-level compressed using SQL. Hopefully from one of the DBC. <tables>.   Note: I do not have access to Ferret tool or...

View Article

Roles - Profiles Best Practices - response (1) by Qaisar Aftab Kiani

Roles are generally used to manage the access rights, while profiles are used to maintain user parameters / environment settings like spool space, account string etc. In your case I think Roles are...

View Article

Roles - Profiles Best Practices - response (2) by pawan0608

 Both serve the different purposes, but they are generally used to help manage Group of common users. Roles are used to manage access rights. You should have at least one role defined for each...

View Article
Browsing all 14773 articles
Browse latest View live


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