48 | 27 Jul 2011 @ 09:12 PDT | Database | Reply | Teradata to teradata replication using Golden Gate | Thanks :-) |
47 | 27 Jul 2011 @ 09:11 PDT | Database | Reply | TimeStamp value for every record inserted using ins/select | Hi Dieter,
Thanks very much!! Worked perfect
|
46 | 25 Jul 2011 @ 11:06 PDT | Database | Reply | TimeStamp value for every record inserted using ins/select | Hi Dieter,
What i am trying is to get a unique timestamp for every record inserted using insert/select... However when i execute the above query for all the rows the timestamp is the same ..
|
45 | 24 Jul 2011 @ 08:48 PDT | Database | Reply | TimeStamp value for every record inserted using ins/select | 2nd Try |
44 | 20 Jul 2011 @ 08:57 PDT | Database | Reply | Teradata to teradata replication using Golden Gate | Thanks!!! .. Yes they can handle huge volume of data.. no doubt ... But they cant handle deletes. The data at the target would only get loaded after the complete data load is done at the source ...... |
43 | 18 Jul 2011 @ 08:10 PDT | Database | Reply | Teradata to teradata replication using Golden Gate | Hi Jim,
The extract process is executing fine But the sort is failing... as i am executing in max protection mode ... |
42 | 16 Jul 2011 @ 11:51 PDT | Database | Topic | TimeStamp value for every record inserted using ins/select | Hi,
i need to add a default timestamp for every row inserted into a table.
Sql Statement:
create table tbl_A
(
a integer,
b timestamp(0) default current_timestamp(0)
);
ins tbl_A(1... |
41 | 16 Jul 2011 @ 11:44 PDT | Database | Topic | Teradata to teradata replication using Golden Gate | Hi,
At my source - around 3 million records are inserted into a table in one transaction.
Is it possible to replicate 3 million records using Golden Gate.
Source and target database being Te... |
40 | 10 Feb 2010 @ 01:55 PST | Database | Topic | Global Temp table | Hi,I understand that the GTT have their definition in data dictionary and the data is localised for the user for that session.But could any one let me know where GTT is used in the real world. With... |
39 | 02 Feb 2010 @ 06:08 PST | Database | Reply | Birthdays | This should work...sel emp_name,emp_dob from empwhere emp_dob between current_date and current_date + 7; |
38 | 23 Oct 2009 @ 12:38 PDT | Database | Reply | serach for "?" | Hi,I am getting the following error:Un-Named Parameter marker found.Use Import Mode |
37 | 21 Oct 2009 @ 06:48 PDT | Database | Topic | serach for "?" | Hi,I need to serach for strings with "?" (with out quotes)example:quest?onmar?sli??lecan any body throw some light on this.-GRR |
36 | 27 Aug 2008 @ 05:30 PDT | Database | Reply | Timestamp difference in seconds | Hi ,I tried this with timestamp(6):sel extract(second from timestamp '2008-08-27 05:24:44.470000+00:00') -extract(second from timestamp '2008-08-27 05:24:31.240000+00:00') |
35 | 21 Aug 2008 @ 11:04 PDT | Database | Reply | how to write a function to retrieve random character from A TO Z | There are efficient ways than writing like this(i guess)... But this is one of the way to achive what you wantsel case when a1=1 then 'A'when a1=2 then 'B'when a1=3 then 'C'end,random(1,3) as a1fro... |
34 | 20 Aug 2008 @ 11:58 PDT | Database | Reply | How to fetch only the first character from a word using FORMAT option | sel cast(col_name as char(1)) from tbl_nm; |
33 | 25 Jun 2008 @ 06:01 PDT | Database | Topic | Bteq:INDICDATA | Hi,Has anybody used INDICDATA option in Bteq while exporting/importing.I know that the field will show the nullvalue fields in that record.But how to read it as the exported data will not be in the... |
32 | 26 May 2008 @ 02:12 PDT | Database | Reply | SQL Assistant behaving weird | Hi,Tried the folowing :sel cast(date '0001-01-01' as char(10)) o/p -- 0001-01-01For all years < 0100 the output seems to be blank.Strange .. something with the calculation of the date ? |
31 | 22 May 2008 @ 12:54 PDT | Database | Reply | To capture the return code in BTEQ | Hi,The logon was just an example that i gave. a.txt is present in the middle of the Bteq script.There were some Sql that had to be run in a.txtBut any idea how to handle File not found in Bteq. |
30 | 21 May 2008 @ 02:36 PDT | Database | Reply | To capture the return code in BTEQ | Hi,I had tried doing that before but it wont work: Here is a part of the logfile .run file a.txt *** Error: Open failed because: No such file or directory+---------+---------+---------+---------+-... |
29 | 19 May 2008 @ 02:11 PDT | Database | Reply | Concatenation in Macro | Hi,Hope this helps:create macro macro_nm(wherecond varchar(10)) as( sel * from tbl_nmwhere col_nm= :wherecond ;); |
28 | 15 May 2008 @ 08:08 PDT | Database | Topic | To capture the return code in BTEQ | Hi,if i want to capture the returncode of the following stmt how do i do that in BTEQ .Env:UNIX. Parent.btq is running the logon.txt.Run File logon.txt-- say suppose the file logon.txt itself doesn... |
27 | 12 May 2008 @ 07:03 PDT | UDA | Reply | Regarding Inserting Date values | Hi,Sql assistant always shows date column in the format 'mm/dd/yyyy' |
26 | 22 Apr 2008 @ 04:41 PDT | Database | Reply | How to get a list of internal functions | Hi,You can try the following command to get the list of DBS SQL commands and functions:help 'SQL'and if u want to know more about the function say (ABS) you can give:help 'SQL ABS' |
25 | 21 Apr 2008 @ 06:27 PDT | Database | Reply | Teradata equivalent with recursive | Hi,for recursion - a very good articlehttp://www.teradata.com/tdmo/v06n03/Tech2Tech/InsidersWarehouse/OddballSQLTricks.aspx |
24 | 24 Mar 2008 @ 08:09 PDT | Database | Reply | How to insert a string with quotes into a char datatype? | Thank you |