Quantcast
Channel: Teradata Forums - All forums
Viewing all 27759 articles
Browse latest View live

Plug-in com.teradata.datatools.sqldev.history was unable to load class com.teradata.datatools.sqldev.history.view.HistoryViewPar - response (6) by fgrimmer

$
0
0

Samer, The 64-bit version will install in C:\Program Files\Teradata... The 32-bit version will install in C:\Program Files (x86)\Teradata... directory on the Windows platform. So what version did you download? The download zip should indicate win64 or win32.


Do Forum posts get deleted ? - response (2) by tomnolan

Using stored procedure variables in a SAMPLE clause - response (6) by aunikivani

Do Forum posts get deleted ? - response (3) by yottadata

$
0
0

Thanks Tom,
OK, I posted a comment to http://developer.teradata.com/tools/reference/teradata-python-module and I can see it in the comment activity link, but when I follow the link to the article, my comments do not show in the thread.
I have gone straight to the article/topic to follow the thread, but I though I was loosing my mind when I did not see my comments.  
It would be good to see all comments in the thread of a topic.
  

Very large table loading fails with Fastload, what are other possible solutions? - response (2) by BToddPull

$
0
0

Where do you find the download for the DataConnector 15.00.00.02?

Do Forum posts get deleted ? - response (4) by dnoeth

$
0
0

There are four comment pages and your comment is on the 2nd page :-)
Seems like the forum software only jumps to a comment when it's on the 1st page, otherwise it's simply showing the top of the page. 
I noticed that before but I thought this was due to the spam posts (if you got admin rights you see all unpublished spam. There's one blog entry with 719 pages * 50 posts = almost 36,000 posts, only 7 are no spam)

Question on SAS in Teradata - forum topic by JuanVonBurke

$
0
0

execute(
insert into ADWP_WORK1.Norm_Collateral_Fac
(pst_obligor_id,pst_fac_id,pst_sys_id,Collateral_Cd,Collateral_Cd_Desc,Maturity_date)
select pst_obligor_id,pst_fac_id,pst_sys_id,Collateral_Cd,Collateral_Cd_Desc,Maturity_date
from
&output..FACILITY_COMBINED
where not
(
Collateral_Cd_Desc is null
or
Collateral_Cd_Desc in &invalid_collat_min.
) and (exposure>0 or book >0 or legal_book >0)
qualify row_number() over
(partition by pst_obligor_id,pst_fac_id,pst_sys_id,Maturity_date order by
period_dt desc,book desc, exposure desc, legal_book desc, GL_AU_NUM desc, GL_ACCOUNT_NUM desc)=1

;
)by teradata;
execute(commit) by teradata;
execute(
update a
from &output..FACILITY_COMBINED a,
ADWP_WORK1.Norm_Collateral_Fac b
set Collateral_Cd=b.Collateral_Cd,Collateral_Cd_Desc=b.Collateral_Cd_Desc
where
a.PST_OBLIGOR_ID=b.PST_OBLIGOR_ID
and a.PST_FAC_ID=b.PST_FAC_ID
and a.PST_SYS_ID =b.PST_SYS_ID
and a.Maturity_date=b.Maturity_date
and
(
a.Collateral_Cd_Desc is null
or
a.Collateral_Cd_Desc in &invalid_collat_min.
)
;
)by teradata;
execute (commit) by teradata;

Hello,
 
I have a question on this query. It is my understanding that the bolded and underlined section starting with "qualify row_number" would group all the records by pst_obligor_id, pst_fac_id, pst_sys_id and Maturity_date and pick only one record based on the most recent period (If priod date is the same, move to book, then ecposure, etc.). Is this correct?
If it is correct, then how do I have 2 records with different COLLATERAL_CD fields? (Please refer to my jpg of data output)
Thank you very much.
 
 

Tags: 
Forums: 

Using SQL History tab slows Studio to a crawl - response (18) by ssavoye

$
0
0

No effect.  I now have admin rights to my Mac and made the changes suggested in this exchange with regard to Java temp files as shown above.  Traversing the SQL History is still painfully slow.  I have restarted the machine several times, killed and closed other applications and it is still painfully slow.
Did I miss anything in my changes?  What else can I try? We use Chrome here.  Are there any issues there?  Where does the data and the databse reside for the SQL history?  What kind of DB is it?
 


Fill Missing Rows With Data - forum topic by uspowpow

$
0
0

Given the folowing table:          
sessionID |  old_col       | new_col
1             | Google        | Google 
1             | null             | Google 
1             | null             | Google 
2             | null             | Microsoft 
2             | Microsoft     | Microsoft 
2             | null             | Microsoft 
3             | Google        | Google or Microsoft or Yahoo
3             | Microsoft     | Google or Microsoft or Yahoo
3             | Yahoo         | Google or Microsoft or Yahoo
 
Is this kind of transformation even possible? I want to 
a) GROUP BY Session
b) see all values in that session (most will be null)
c) if there is one that's NOT null, replace all nulls in that group with that non-null value

Forums: 

Using SQL History tab slows Studio to a crawl - response (19) by fgrimmer

$
0
0

The SQL History is stored in a Derby database within the Studio workspace. Is your workspace created locally and not on a remote location?

Using SQL History tab slows Studio to a crawl - response (21) by ssavoye

$
0
0

I am working directly on my Macbook and it should all be local.  The only anomoly, as mentioned earlier, is that we are pointing at a VM for the interim.  Is there a setting as to where the history could reside elsewhere?

Using SQL History tab slows Studio to a crawl - response (22) by fgrimmer

$
0
0

There currently is not a setting to store the SQL History elsewhere, but since your SQL History is stored locally not sure that would help. I am guessing you have tried clearing the SQL History? 

Using SQL History tab slows Studio to a crawl - response (23) by fgrimmer

$
0
0

From your earliar post, the workspace location can be changed when you launch with the -data command line option.

Using SQL History tab slows Studio to a crawl - response (24) by ssavoye

$
0
0

I did not clear my SQL History.  Should I?  IT will scroll fast if its is empty.  :-)  I only have 106 rows in it.  I see where the projects are stored in the StudioWorkspace under Documents on my local drive.  However, I was just reading the install guide again, and it says a workspace folder called SQLA should be created.  I don't see that.  I read how you change the location, but it is all local.  I just don't see SQLA in that workspace folder, so where is it residing?  Is there a way to check?

Remove characters after '-' in a string - response (12) by sakthikrr

$
0
0

Just use case to handle values with absence of 'x' as shown below:

case when POSITION('-' IN myField) <> 0 then SUBSTRING(myField FROM 1 FOR POSITION('-' IN myField)-1)
else NULL end

Hope this helps!


Question on SAS in Teradata - response (1) by dnoeth

$
0
0

Double check if the combination of (pst_obligor_id,pst_fac_id,pst_sys_id,Maturity_date) is actually the same for those rows, you didn't show all columns in the screen shot...

Using SQL History tab slows Studio to a crawl - response (25) by ssavoye

$
0
0

So you know what I tried.  I first exported the old SQL History.  I created a SQLA directory in my StudioWorkspace directory and then ran the TeradataStudio command to change the workspace as such
 

  1. /Applications/TeradataStudio/Teradata/Studio.app/Contents/MacOS/ TeradataStudio –data
  2. /Users/myUser/Documents/StudiWorkspace/SQLA

It brought up Teradata Studio again and started from new.  I ran a bunch of small queries and then imported the old history database.  It is still lagging.  I click on a cell and a couple seconds later it highlights, and same thing with scrolling, highlighting, etc.
The strange thing is, I don't see anything in the SQLA directory still.  It looks like they created a SQL directory, but there is never anything in it, even after closing.  ARe there just hidden files or something?

 

Do Forum posts get deleted ? - response (5) by yottadata

$
0
0

So it is !  I didn't notice the page navigation at the bottom until now.    Mystery solved, and sorry for the trouble.
Thank you Dieter

Get actual column name not alias via DBC/system tables - forum topic by jg186063

$
0
0

Hi,
 
Other than  doing a "show view" to get the actual column, is there any other way to get that information in the dbc or system table? Note I am not asking for the alias but the actual columnn which is being referenced.
 
thanks

Tags: 
Forums: 

Copy data from one database to another on the same server - response (7) by svragavan81

$
0
0

I meant that DB servers were changed from one server configuration to another.

Viewing all 27759 articles
Browse latest View live


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