Fill a column with serial number
Hello, all seniors... !my table has a column empty NWT (number), I would now like to fill with a series of numbers
for as many records that are also present.
examples of table data.
1 SELECT TXN_DATE
2 FROM PTXN
3* WHERE ROWNUM <10
TXN_DATE
----------
18/03/2010
02/02/2010
10/02/2010
05/04/2010
15/05/2010
25/01/2010
03/02/2010
15/01/2010
25/04/2010
9 rows selected.
I issue this command;
update ptxn
set tno = rownum
With the above Update SQL, the TNO column got filled with the exact number of records. Like this,
SELECT TXN_DATE,tno
FROM PTXN;
TXN_DATE TNO
---------- ----------
03/02/2010 1
15/01/2010 2
02/02/2010 4
25/04/2010 8
25/01/2010 3
18/03/2010 6
15/05/2010 9
10/02/2010 5
05/04/2010 7
9 rows selected.
what I want actually is to sort my table (ptxn) in the column "txn_date" wise and complete series.Like this;
TXN_DATE NWT
---------- ----------
15/01/2010 1
25/01/2010 2
02/02/2010 4
02/03/2010 8
02/10/2010 3
2010-03-18 6
2010-05-04 9
2010-04-25 5
2010-05-15 7
How can I change my statement Update ot any other solution, please suggest.
Using PL/SQL:
SQL> select * from PTXN ;
TXN_DATE TNO
--------- ----------
07-MAR-10
26-FEB-10
01-MAR-10
08-FEB-10
03-MAR-10
16-APR-10
11-APR-10
08-MAY-10
14-MAR-10
18-APR-10
10 rows selected.
SQL> begin
2 for r in (select rowid i, TXN_DATE, row_number() over (order by TXN_DATE) n from PTXN) loop
3 UPDATE PTXN p
4 set TNO = r.n
5 where rowid = r.i;
6 end loop;
7 end;
8 /
PL/SQL procedure successfully completed.
SQL> select * from PTXN
2 order by 1;
TXN_DATE TNO
--------- ----------
08-FEB-10 1
26-FEB-10 2
01-MAR-10 3
03-MAR-10 4
07-MAR-10 5
14-MAR-10 6
11-APR-10 7
16-APR-10 8
18-APR-10 9
08-MAY-10 10
10 rows selected.
Max
[My Italian blog Oracle | http://oracleitalia.wordpress.com/2010/01/31/le-direttive-di-compilazione-pragma/]
Tags: Database
Similar Questions
-
How to fill a column with numbers and maintain when adding or deleting lines?
So far, I've discovered two ways to fill a column with the number:
1. Enter '1' in a single cell, '2' in the one below, select both, and then use the yellow dot to drag down - it will do the rest.
2 create a formula such as 'A2 + 1' and drag also.
However, in both cases it will work if I manually this continues to do for each newly added line at the bottom. Now, that alone would not be that big of a problem if it wasn't for the fact that I'm working with a table where the lines can be added among other rows in the future.
Having said that, could someone please tell me how to create a column with a number that will increase automatically? I mean - if I add a new line between line 56 and 57, I want the new line to have a '57"in it, and the" old 57 "would now be"58"and so on." " I don't want to drag the whole column, which can be hundreds if not more than a thousand lines.
Try to put this in the cells in the column:
= ROW()
In the formula, you can add or subtract a number if necessary to get the starting number that you need.
SG
-
TLDR: After entering the serial number Adobe Acrobat Pro, it asks me to connect with my Adobe id, I'm doing this, and then he said to log out of 1 of my 2 computers with the subscription of cloud that I have, which makes it useless, as I bought so I can have 3 PC running adobe acrobat.
I have AN account with BOTH the following:
1 subscription creative prepaid cloud - PC 1 and 2
2 adobe Acrobat Pro Version 12 - bought September 2016 - PC 3
Please take note of that above is under a ADOBE ID account
Steps to follow:
1. I have creative cloud on 2 PC, I have adobe Acrobat DC running on two of them
2. buy and download Adobe Acrobat Pro DC with serial number
3. I have install Adobe Acrobat with serial number on PC #3 with no creative cloud software
4. on the PC n ° 3, he is asked to log in to my Adobe ID to use Adobe Acrobat.
5. I do this
6 adobe tells me that I need to log out of 1 of my 2 PC, so I can use Adobe Acrobat
Question:
7. why?... I bought Adobe Acrobat for $500 USD for I can use it on my 3rd PC!
Why Adobe doesn't realize that I have the serial number registered under my account, so I can use it on my 3rd PC?
This Adobe Acrobat is NOT part of my subscription of cloud!
What should I do?
How to use my PAY Acrobat on my 3rd PC?
Or open a separate account and request to transfer your individual copy of Acrobat for it. Then connect to that account on your computer to third and you should be fine.
-
I bought a genuine product Adobe Creative Suite 6 Design Standard about 3 years ago. After the initial installation (with serial number) applications worked well (Photoshop, Illustrator, Acrobat, etc.). However, I could only use Acrobat a few weeks before the software did not react more. After this time all pdf files can be manually opened with Adobe Reader, but not with Acrobat. Because Acrobat seems to be the default program to open pdf files, nothig happens if I double click on a pdf file, or if a pdf file to be generated from a site Web etc. At the beginning, I was able to reinstall Acrobat from the CD and it would work for a few weeks yet. This has been the case for the past three years. Now, even the resettlement option no longer works and the error message "Is not a real product from Adobe" is displayed during installation. As I said, all the other parts (Illustrator, Photoshop...) work fine and I don't have a product code, serial number etc. What could be the problem and how can I solve this problem? When I uninstall Acrobat, all PDFs open automatically via the Adobe Reader software. But I need more than just to read a PDF file. Help, please!
Hi Andreas,
Try the fix mentioned in the KB: https://helpx.adobe.com/creative-suite/kb/acrobat-failed-launch-30-days.html
Kind regards
Rave -
I have an older version of Creative Suites 2 with serial number, etc..
I have an older version of Creative Suites 2 with serial number, etc.. But I get a message that serial number is invalid with Indesign and then he says my username, org., serial number is missing or invalid with Photoshop? Any suggestions on how to fix this?
-
I have a serial number for CS6. but it does not work. I noticed that there are several versions of CS 6. I downloaded 'standard design', but it did not work. Which version goes with serial number [removed]?
Thank you
Bill Heinsohn
Check your Adobe account online. If you have registered the software version should be shown there.
Never share your serial number publicly... anyone can use it.
-
I can't install cs6 master collection with serial number, the message is: Impossible to condone this number, but in our account page retrieve numbers series, everything is OK. Thank you
Since this is an open forum, not Adobe support... you must contact Adobe personnel to help
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">===>
Don't forget to stay signed with your Adobe ID before accessing the link below
Serial number and activation support (non - CC)
-
Impossible to download what I bought - 6 Lightroom with serial number?
Sorry for that. My name is Lennart Ekman < deleted by the moderator > I bought LIGHTROOM 6 with serial number and have changed from Mac I just want to download it again, so I can start using it? Serial number is < deleted by the moderator > and my Adobe account is < deleted by the moderator > how can you please help me. Mailadress Lennart Ekman as labour is now < deleted by the moderator >
You can install it from the link below:
https://helpx.Adobe.com/Lightroom/KB/Lightroom-downloads.html
I hope this helps.
Concerning
Megha Rawat
-
Install the CS6 on the new PC with serial number for update
I installed CS6 Design Standard on PC new with serial number for update (after deactivation on old). The serial number is valid but no product eligible on the PC. I don't find it in the list. Do I need to install the previous version?
Please see:
https://helpx.Adobe.com/Creative-Suite/KB/error-serial-number-qualifying-product.html
I hope this helps.
Concerning
Megha Rawat
-
I can't save my CS3 using its serial number. To do this, I wonder to identify an older version with serial number which I can't provide. I desperately need help.
Robert Gordon
You can follow the instructions here: PS CS3: cannot save on PC
If your old product is not on the list, nor is your serial number for it. If you need to reinstall on a new system, and the CS3 upgrade wants a qualification series, it's bad. These series are of a value of $$$ and no registration or registration request in trouble.
Gene
-
I bought a DVD of 13 Photoshop elements for my MAC, but it is not a bit of port DVD I have low load with serial number?
Available downloadable Setup files:
- Suites and programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: DC, XI, X | 9,8 | 9 standard
- First Elements: 13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
- Photoshop Elements: 13 | 12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
- Lightroom: 6| 5.7.1| 5 | 4 | 3
- Captivate: 8 | 7 | 6 | 5.5, 5 | 1
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
I have purchased Adobe Design Standard CS6 2013 with serial number, but can't find the to no download on a new mac laptop. When I try and add the serial number to 24 digits on my account it doesn't seem to work?
CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.
Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.
CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html
-
I created a whole creative cloud with serial number built includes all elements of software, that we deserve. I was able to install on a machine. When I try to install anywhere else on another mac, I get operation has expired.
We run OSX Yosemite. The only mac that it worked was the one in which I initially downloaded the package. We cannot reuse the same package file? I have a site license and requires the same software installed on several machines.
Hello
Welcome to the Adobe forums.
You can certainly install the package on other MAC computers. Can you please check the security and privacy on MAC machine where the batch fails.
Go to System Preferences > Security & Privacy > General > allow downloaded applications on and select anywhere.
Launch the installation of the package. Let us know the error if it does not work yet.
Thank you
Ashish
-
Authentication of CC plays havoc with me.
I have a valid complete installation disk with serial number for CS6 Master Collection. Recently, I also started a subscription to CC.
I want to use CC by its terms of use on my main machine (a Mac with Windows in parallels) which, in my view, will be taken into account that the two facilities of my CC license. I also have a second PC where I would use my valid serial number perfectly to install and run CS6.
When I connect the second (CS6) machine, I am not allowed to run my programs CS6 because I am considered a Subscriber CC. There is no possibility to enter a serial number: machine, which has run the CS6 for years, refuses to let me continue to use it. For example, I start Acrobat. I'm alerted that my trial has 00 days left. I wonder to connect and enter a serial number. I connect, but before I can enter the serial number, I said ' welcome, wear "authroization window goes. And it REAPPEARS immediately with the same message on my trial with 00 days left.
I got a lot of anguish on broken activation Adobe and my opinion on them as a company has suffered considerably.
I was wondering if I should do an Adobe ID separated for CS6 installing. Will be Adobe let me enter this serial number via a new Adobe ID, or he will not oppose the reason that serial number is associated with my Adobe ID main?
Re-record the perpetual license with a different Adobe ID and use the CS6 installation on this ID. This will keep the system to blend during activation. Don't forget to disable the CS6 (if she will allow this option) if possible. This is the best option for now. If you have any problem with the re-setup, use the Adobe cleaner on the CS6 machine.
-
I want to reinstall photoshop CS6 with serial number - where is the site?
I want to reinstall photoshop CS6 with serial number - where is the site?
If you bought it online, you should have a link to download in your Adobe account online. Otherwise, you can download the trial version and use your serial number to activate it.
http://helpx.Adobe.com/x-productkb/policy-pricing/CS6-product-downloads.html
Follows an alternative site for downloading the trial version but you should follow the instructions carefully for the download to work.
http://prodesigntools.com/Adobe-CS6-direct-download-links.html
Maybe you are looking for
-
With the help of store app China without credit card US
IM living in China and for this reason the apps I can download only from the Chinese market which is very limited. So I want to know that how to get or use the US app store for mac while Im in China without credit card?
-
How to stop press "Tab" to act as a button 'SEND' in gmail
Since the installation of the update of Firefox today, when I hit the keyboard Tab key in the frame to compose an email on gmail, it sends the (! unfinished!) message. I need to disable this "feature". How?
-
original title: C:\windows\system32\mshtml.dll is not designed to run on Windows or it contains an error. Try to install the program by using the original installation media or contact your system administrator or the provider of software for pensio
-
Why need a cable modem from a router can send and receive information to a computer?
Why need a cable modem from a router can send and receive information to a computer?
-
Studio XPS 8100 does not start
Hello! I have a 2010 studio xps 8100 (Intel (r) Core i7 CPU 860 to 2.80 GHz, 8 GB ram) and it's great when it works. Last week, I was out of town and when I came back it would not start upward. I can turn it on and start the fans, but it does not