# | Date | Forum | Type | Thread | Post |
8 | 07 Jun 2016 @ 06:11 PDT | General | Reply | How to download and install teradata on windows 10 | You can install Teradata on Windows 10. First you install VMWare Player (free for non commercial use), then download the virtual machine from Teradata and open it in VMWare Player. This will give y... |
7 | 04 Mar 2016 @ 01:13 PST | Database | Reply | Query to remove some characters from a column | Hi,
You can replace %[ with OReplace, but you will need to use a regular expression in conjunction with REGEXP_REPLACE to remove the ]Q1_1%.
Here is the code to handle the example ... |
6 | 28 Oct 2015 @ 08:20 PDT | Database | Reply | OREPLACE | Hi Shivyani,
You can escape single quotes by doubling them up, ie if you want a single quote literal within a string just use ''.
So in your example:
SEL '''a'',... |
5 | 28 Oct 2015 @ 07:14 PDT | Database | Reply | RANK() Tiebreaker? | Hi Eady,
You could include MAX(LOC_VST_DT) in the subquery, and then include it in ORDER BY clause when RANKing.
SEL
T1.PERIOD_START,
T1.PERIOD_END,
T1.EMPID,
T1.LOCID,
RANK() OVER (P... |
4 | 12 Oct 2015 @ 01:48 PDT | Database | Reply | LOG file for Stored Procedure in Teradata. | Hi Lata,
There is a status variable ACTIVITY_COUNT that stores the number of rows impacted by the previous DML statement in the procedure.
Regards,
Steve.
|
3 | 30 Sep 2015 @ 02:15 PDT | Database | Reply | When does the value in a stored procedure variable change? | No problem JoyC. If you can't persuade your DBA to grant you CREATE PROCEDURE privileges then Teradata also has a free edition - Teradata Express for VMware - which you could install on y... |
2 | 30 Sep 2015 @ 01:29 PDT | Database | Reply | When does the value in a stored procedure variable change? | Hi JoyC,
The last statement will return ABC because nowhere has the code changed the value of vFld1 from the first SELECT.
This can be easily verified by creating a simple stored procedure to tes... |
1 | 16 Sep 2015 @ 12:19 PDT | Database | Reply | Stored procedure runs in SQL assistant but given error when triggered through Informatica | Hi Arpit,
This sounds like Informatica is adding additional single quotes around the value when it is calling the stored procedure - so effectively generating:
CALL MDM_D1.SRC_VNDR_FNDT... |
|
|