Query to check that which sequence is missing
Hi all,
hope all of you are fine.
plz guide me in writing auery so that i can check that which sequence is missing...
for example i have a column in which i generated the auto no with sequence
like 3501,3502,3503....................
later user can delete the record....
Now i want to check that which of the sequence is breaked like
3501,3502,3504.........now 3503 is missing........I want to check all that are missing from sequence.......
Hope you understand what i want to say
thanks in advance
Shayan
[email protected]
And a slight variantion on maaher's last solution, applicable when you are not on 10g yet:
SQL> create table mytable
2 as
3 select 1 id from dual union all
4 select 2 from dual union all
5 select 4 from dual union all
6 select 5 from dual union all
7 select 8 from dual union all
8 select 9 from dual union all
9 select 10 from dual union all
10 select 13 from dual
11 /
Tabel is aangemaakt.
SQL> select level id from (select max(id) maxid from mytable) connect by level <= maxid
2 minus
3 select id from mytable
4 /
ID
3
6
7
11
12
5 rijen zijn geselecteerd.Regards,
Rob.
Similar Messages
-
Query to check index rebuild progress check query
alter index EB.GL_TRN_PK_PRIM rebuild; its big index with millions rows, want to see its progerss, is there any query to check that how its doing?
Hi,
its big index with millions rowsI hope that you are running it in parallel. With 35 processes you should be able to do a million row index in under 10 minutes.
When I rebuild indexes, I pass the time run running a tablespace map on the target TS.
You can watch Oracle build the index nodes.
is there any query to check that how its doing?I use a script like this one:
http://www.dba-oracle.com/data_warehouse/tablespace_reorganization.html
Because Oracle retrieves the indoes in pre-sorted order, you can watch the new tree build in real-time . . .
Hope this helps . . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference"
http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm -
got event ID 4015 and source DNS-Server-Service. please suggest how to fix this issue
The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
RajHi
first run "ipconfig /flushdns" and then "ipconfig /registerdns" finally restart dns service and check the situation,also you can check dns logs computer management ->Event viewer->Custom Views->Server roles->DNS. -
Firefox is refusing to start. It says that my profile is missing, which it appears to be. Yet the way in which one goes about creating a new profile wont' work either. Anybody have a bloody clue what's going on and how to fix it?
AIR give you classes to detect an on-line or off-line status, it's in
this way for the sake of flexibility for instance what happens if you
only what to sync data only on Saturdays at 2 am? If it were done
automatically that'll be a problem. And it isn't so complicated.
You can download the SalesBuilder from AIR examples at www.adobe.com/devnet/air
it's an application that does everything you have in mind.
I don't understand your question abou file types.
An AIR app can communicate with almost every backend served tech
CF, .Net, PHP, RoR.
Sincerely,
Michael
El 14/05/2009, a las 8:48, IrishAIRMax <[email protected]> escribió:
>
I have to say that I'm loving the picture! well cool!
>
Sorry but I don't quiet understand. I thought AIR did the updating
automatically? I didn't realise the developer had to program the
logic of how the updates take place? Is it a case in most AIR apps
that when online the app updates the server and once every intervel
(of however long) the local SQLite DB is synced to the more updated
server DB. Then when offline the developer has to sense that the app
is offline and store a log manually of the updates without any help
from AIR itself, and then update once it comes online again?
>
Can AIR link to anything more than a database on the server side
apart from webservices, for example .as files or any other file types?
>
What type of server is a Flex app stored on, is it a specific Adobe
server rather than a Java or .NET server?
>
Thank you so much for your last comment!
IrishAIRMax
> -
I want to check that how many users are connected to the wifi which i m using at present
i want to check that how many users are connected to the wifi which i m using at present???
Go to Utilities > Airport Utillity
If you click on your router it should show you the "wireless clients" that are connected -
Revision: 18821
Revision: 18821
Author: [email protected]
Date: 2010-11-26 07:33:24 -0800 (Fri, 26 Nov 2010)
Log Message:
Check-in a minor fix that deals with a missing MessageBroker class (this could happen in Java/Android clients).
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/MessageException.javaI see some message about a proxy. Have you checked that you can use the proxy from you network?
If not you should turn the proxy off.
Timo -
I have files that say they are missing or offline. I have checked all my folders off of lightroom and they can not be found. I have used the ? mark settings to find and still not found. I can see the images on lightroom so they have to be in my system some how. How can I retrieve these images? Is there a re boot for lightroom? Need help ASAP!
You have probably moved the files outside of Lightroom. The images you see in LR are previews that were made before you moved the files.
Do a search for the files/folders using your computers operating system. (Explorer/Finder)
Once you have found them, you can point LR to the right location. -
When Mavericks was available, I was able to download it, which I did without checking that my Mac (iMac5,1) running 10.7.5 cannot run Mavericks. However I found that I was having some odd things happening - and asked the Finder for "Mavericks" to see if anything would appear. The result was a page of 12 items
1 3SHACK.PDF 1 3SHACK.PDF 1 3SHACK.PDF index.jspa.html
maverick.png maverick.wpn nav.dat os-x-mavericks-2.html
os-x-mavericks-3.html os-x-mavericks-4.html os-x-mavericks-5.html os-x-mavericks.html
There may be other Maverick-related stuff, but can I just trash the above, or is there a better way to restore a pure 10.7.5 ??
EricI have found, within the Apple site, that I can upgrade my 20inch, late 2006 iMac to 4GB RAM by replacing present RAM with two 2GB SO-Dimm in each of the two slots, although apparently the computer will only ever use a max. of 3GB.
So that would be a start.
On back-up for the 250 GB Hard disc with 100 GB 'available', I have an external hard disc, 500GB but with four partitions, total space available maybe 300GB.
So it looks as if I need a new external HD of probably another 500GB.
Have you any further comments ? In the meantime I will try to note any of the odd stuff, and postpone further action until after the New Year.
Finally, I have Time Machine on a separate external HD of 500GB, with about 190GB available.
Much appreciate you comments and asistance, meanwhile the Seasn's Greetings and Best wishes for 2014.
Eric -
Revision: 10889
Author: [email protected]
Date: 2009-10-06 09:29:53 -0700 (Tue, 06 Oct 2009)
Log Message:
Add FTETextTests which check that a Label and NumericStepper configured to use FTEText have a textField and textInput, respectively, of type UIFTETextField and MXFTETextInput. The components are configured via style properties rather than by theme which would require another version/compile of the BasicTests.swf.
QE notes:
Doc notes:
Bugs:
Reviewer: Alex
Tests run: basictests
Is noteworthy for integration: no
Modified Paths:
flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml
flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml
Added Paths:
flex/sdk/trunk/frameworks/tests/basicTests/halo/scripts/FTETextTestScript.mxml
flex/sdk/trunk/frameworks/tests/basicTests/halo/views/FTETextTests.mxmlI'm also having this problem. I'm using Flash Builder 4.6, AIR 3.4 and I've made a DLL (e.g. ExtensionDll.dll) which needs to call functions in another DLL (e.g. DllUsedByExtensionDll.dll) . I've made sure my ANE is working with the ExtensionDll.dll already, so there are no issues with my actionscript code or my ANE packaging or my DLL compilation. However, once I start calling functions from the other DLL, it starts throwing me Error #3500. Even if I call this function (e.g. abc()) in ExtensionDll.dll, but I never actually use the function from actionscript, and I call another function (e.g. def()) from actionscript, the Error #3500 still appears, so it does not seem to depened on the whether the code is used or not.
It's similar to this problem.
http://stackoverflow.com/questions/9823504/how-to-use-external-dll-in-air-native-extension
Does anyone have a solution or at least a way to debug this? -
About a month ago I couldn't access 100s of pix from my iPhoto library. I then went through the process of "re-finding" all missing pix. I 2x checked that they opened. Now, I'm having the same original problem! What's iPhoto doing with my pix? Is there a "batch" fix?
Try rebuilding the library.
Hold down the Option and Command keys then launch iPhoto.
Select: Repar the iPhoto Library Database
Click Rebuild. -
How to display first row value returened from a query as checked as default in a report
How to display first row value returned from a query as checked as default in a report
Example
Parameter 1
Paramerter2
ABD
x(checked)
Test
DEF
JMG
MudassarHi Mudassar,
The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
order to solve the issue.
If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
the specific value in Default Values dialog box.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
How to find out which plugin is missing fro mthe website: http://web.it.nctu.edu.tw/~twli/interactive/scr_tutf.htm?
After looking at one similar question found in mozilla support and answered by jscher2000 (https://support.mozilla.org/en-US/questions/957655), I have found out I have to look for either <object or <embed. What I found is : <embed width="100%" height="100%" messagecallback="parent.frames.MANIPULATIONS.AppendMessage" spinfps="15" spiny="30"
What do I have to do now?This big1.mol (and possibly big2.mol) file is loaded in the embed plugin object that is opened in a iframe, so you can right-click the plugin area to check the embed code.
*http://web.it.nctu.edu.tw/%7Etwli/interactive/big1.mol
*http://web.it.nctu.edu.tw/%7Etwli/interactive/big2.mol -
How to find out which sequence a certain column used?
you konw column C in table T is created by a sequence.
How to find out which sequence column C is using?In the meantime I think it ought to becompulsory to
only assign sequence values in triggers.
Why? I can see no good reason for this. I think it's a good idea to have stuff like this
coded in only one placeI don't like your argument for compulsory using triggers for sequences for exactly the same reason as you, ie that I like to keep my code in one place. If I'm reading some pl/sql code which uses a sequence I like to see the fact that the sequence is used in the pl/sql code, rather than to check to see if theres a trigger on the table and then see which sequence that uses.
"naming conventions can work, provided they're enforced. Alas, like other standards, they can only be enforced by active policing".
Thats what code reviews are.
" there is also the special case of one sequence populating more than one table...."
This is My Pet hate. I don't think there's ever a case where this is absolutely necessary. Again code reviews
Unfortunately I have to live with a system which does this.
and I appreciate we can't all have code reviews, etc. -
How to check that Delta is not captured?
Dear Experts,
I am using 2LIS_02_ITM datasource.
PO is created using a program.
The next step in the program, it can change a field in the PO depending on logic, using a abap command 'update'.
Sometimes, this change is not captured in the delta queue, it seems.
why i say this is the PO shows the field value but BI delta load does not.
It is using Queued Delta now.
Initially, the program uses a command 'update' to update the field in PO.
Now, we decided to use ME22N program to ensure delta will be created.
The problem is happening to some records and not all delta records.
Its very difficult to tell what is the cause.
What is the standard method to check that Application table data is not captured in Delta Queue by the extractor?
Or
If PO can show the field value, is there a possibility that Delta may not capture this field change?
regards
PascalWell just throwing few possibilities:
1 - Basically PO creation, change in values/quantities etc are Business transactions and they generate evens known as BTEs.
Now we have to explicitly inform SAP ECC that which applications can use BTEs and we do this by tcode BF11.
Check if the software component creating and changing POs is properly linked to BTEs and if BW is set as active in BF11 tcode.
2 - If point 1 is checked and nothing is found to be incorrect, please check if Industry sector is correctly chosen (SBIW). Industry sector generates a set of Transaction keys (BWVORG) without which the values are not updated in BW.
Also rightly pointed by Tbollo, you need to ensure that there's a pattern in the missing docs to identify the rootcause.
Debanshu -
Can't edit and re-Save Power Pivot query with Teradata connection (using LDAP security mechanism) unless "Save my password" option was checked. Without this option I receive this error upon attempt to Save changes made to the query ...
The following exception occurred while the managed IDbConnection interface was being used: [TeraGSS Security Library] [115022] Exception occurred in TERAGSS layer. See inner exception for details.;TdgssAuthenticationTokenExchange delegate threw an exception.
See the inner exception for details.
ErrorCode: -452984642 Severity: Error Facility: DotNet
[Teradata Database] [8017] The UserId, Password or Account is invalid..
A connection could not be made to the data source with the DataSourceID of '6a06124c-496f-4887-bf39-d2582173d499', Name of 'Teradata fsltdprd'.
An error occurred while processing table 'Query'.
The current operation was cancelled because another operation in the transaction failed.Sorry you're right, the Office category isn't currently accepting bug reports in which case Olaf's suggestion to use the smiley face is the way to go. In Excel please go to File > Options > Trust Centre > 'Trust Centre Settings...' and check
that the Feeeback Tool is enabled.
If the option is greyed out like this...
... then you should be able to enable it by changing the value of the 'Enabled' registry key from a 0 to a 1 which you will find under: HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Feedback. You will then need to close all Office applications
and re-launch Excel 2013.
Once the Feeback Tool has been enabled, you should see the smile face(s) in the top right hand corner of the Excel window and be able to send your feedback.
Regards,
Michael
Please remember to mark a post that answers your question as an answer...If a post doesn't answer your question but you've found it helpful, please remember to vote it as helpful :)
Website: nimblelearn.com, Blog:
nimblelearn.com/blog, Twitter:
@nimblelearn
Maybe you are looking for
-
Oracle 9i manual database creation on the Red Hat 9 Linux
I installed Oracle 9I on the Red Hat 9 Linux successfully with automatic database creation. I tried to create second database manually and everything seemed to be fine until I issued create database statement. I got the following error: ERROR at line
-
Snapshot refresh error: ora-01401 inserted value too large for column
I have an error ora-01401 "Inserted value too large for column" when I try to do a refresh on a group at the materialized view site. My model is 1 master replicating to a readonly materialized view site. I have 2 refresh groups for separate sets of t
-
Dear team support, I have a problem with my WhatsApp Messenger. my whatsapp wont save message history. couse error. Error: Sqlite Error (schema update): net.rim.device.api.database.DatabaseException: SELECT name FROM sqlite_master WHERE type = 'index
-
Where I can find an example for an ADF application
where I can find an example for an ADF application where the view layer is JSF and the Business service layer is JAVA with JSF controller as controller layer Edited by: belal on Jun 18, 2011 11:59 PM
-
Classification view in General Tab
Dear all, Our company is implementing SAP and I am very new to QM/PM. I have come across a SAP note regarding calibration paper in which it was stated that dynamical fetching of constant is possible when maintained in the classification of the equipm