When a sample is uploaded to one of the 3 SRA databases, it is assigned a unique identifier depending on the database it is submitted to (see below). The databases are regularly synchronised, and the run is therefore found on all 3 databases, with the same accession code on all of them.
If you choose to use only SRR accession codes, you would be limiting yourself to runs which were originally submitted to NCBI's SRA database and not EBI's or DDBJ's databases.
Explanation About SRA Accession Codes
SRA = Sequence Read Archive
Accession code format:
aRbx
(Examples: SRR#, SRX#, ERR#, DRR#, etc.)
Where:
First letter (represented by 'a' above)
Represents the source database to which the sample was originally uploaded, before being synchronised with the other 2 databases:
S – NCBI’s SRA database
E – EBI’s database
D – DDBJ database
Second Letter
Always the letter R
Third letter (represented by 'b' above)
Type of data represented:
R – Run
X – Experiment
S – Sample
P – Project / study
x - unique accession code
Or if this is easier:
"There are four hierarchical levels of SRA entities and their accessions:
STUDY with accessions in the form of SRP#, ERP#, or DRP#
SAMPLE with accessions in the form of SRS#, ERS#, or DRS#
EXPERIMENT with accessions in the form of SRX#, ERX#, or DRX#
RUN with accessions in the form of SRR#, ERR#, or DRR#
The first letter in the accession makes a notation of the source database - SRA, EBI, or DDBJ correspondingly.
Examples of searches by accession:
Find one specific study: SRP006081
Find studies with consecutive accessions using wild card: SRP00608*
Find two specific studies: SRP006081 OR SRP006083"
Source for above quote: NCBI's SRA search help
Actually, P is for Project here. There can be an SRP study that has not been published at all.
You are right. I mistakenly wrote 'publication' instead of 'project'. I corrected it. (Couldn't reply yesterday because I don't yet have enough points...)