14 | 01 Nov 2015 @ 04:07 PST | Database | Topic | Summing a count (*) colum |
Hi there,
I have been trying to sum the MY_ID_COUNT (i.e. MY_ID, count (*)) column but without success.
Would be cool to have the total displayed.
Curent resultset looks like this:
--------... |
13 | 21 Oct 2015 @ 08:11 PDT | Database | Reply | Least/Greatest Function with Dates | Thank God i lived to see master Dieter say dont 'ask me why' :)
In life nothing is impossible!
|
12 | 17 Sep 2015 @ 06:19 PDT | Database | Reply | SUBSTRING and CONCATENATION | Thank you Saravanath.
much appreciated.
|
11 | 16 Sep 2015 @ 04:25 PDT | Database | Reply | SUBSTRING and CONCATENATION |
Hi Mani et al,
What I want to do now is to do a count over my resultset.
The distinct function below is working (but I want something to tell me the number of occurrence of the duplicates):... |
10 | 16 Sep 2015 @ 04:18 PDT | Database | Reply | SUBSTRING and CONCATENATION | Hi Mani.
thanks for your help - works perfectly.
|
9 | 14 Sep 2015 @ 09:12 PDT | Database | Topic | SUBSTRING and CONCATENATION |
Hi There,
i need help to write an sql script to return values from different positions within the example string below:
#12345678.#98B9876.#123456
i want values from positions 2-8 and conc... |
8 | 26 Nov 2014 @ 08:49 PST | Database | Reply | copy/backup table | Hi Ulrich - Yes its on the same server.
Thank you for your help.
Alls good with your help.
|
7 | 25 Nov 2014 @ 07:35 PST | Database | Topic | copy/backup table | I want to copy/backup an entire table with a different name so i can make some updates and test those changes on my version of the table.
Can you please provide help on how to do this?
Best Regar... |
6 | 21 Oct 2014 @ 07:42 PDT | Database | Reply | DIFF BETWEEN PRIMARY KEY AND PRIMARY INDEX | thanx @KS42982 for your post on the diff between primary key and primary index
|
5 | 02 Oct 2014 @ 09:09 PDT | Database | Reply | How to sum up totals from different columns and insert into one column | thanks Raja K Thaw. works well.
|
4 | 02 Oct 2014 @ 04:19 PDT | Database | Topic | How to sum up totals from different columns and insert into one column | How to rsum up totals from different columns and insert into one column
Hi there,
I have created a column to hold the total amounts for all amounts types recorded against an event.
the i... |
3 | 02 Oct 2014 @ 04:03 PDT | Database | Reply | Teradata Error: [3704] '' ('0A'X) is not a valid Teradata SQL token. | How to rollup totals from different columns and insert into one column
Hi there,
I have created a column to hold the total amounts for all amounts types recorded against an event.
the... |
2 | 01 Oct 2014 @ 05:37 PDT | Database | Reply | Teradata Error: [3704] '' ('0A'X) is not a valid Teradata SQL token. | thanks Dieter.
sorry i was away on leave just got back this morning!
yes it was a back tick. alls good now.
Unfortunately teradata sql is my first and its getting me excited!
my current task is... |
1 | 25 Sep 2014 @ 10:05 PDT | Database | Reply | Teradata Error: [3704] '' ('0A'X) is not a valid Teradata SQL token. | hi there.
am learning teradata sql (sql ingeneral) and i got this error:
SELECT Failed. [3704] '' ('60'X) is not a valid Teradata SQL token.
the script was running well until i d... |