Is there a way to find if PK was created with the index or alter + change?
Is there a way to determine if a primary key (PK) was created by one or the other method:Method 1:
ALTER table add constraint tab1_pk primary key (pk) tab1;
Method2:
create an index only tab2_pk on tab2 (pk);
ALTER table add constraint tab2_pk primary key (pk) tab2.
When you remove or disable the PK, then in method 1 the corresponding index is also removed, but in method 2 the index is not deleted. Before a bulk loading, I would like to know if I need to issue another statement to delete the index in method 2
Thank you
The column spare1 in the sys.obj$ will be '0' in the method 1 and '6' in method 2.
select a.name, a.spare1 from sys.obj$ a, sys.ind$ b
where name in ('TAB1_PK', 'TAB2_PK')
and a.obj# = B.obj#;
Published by: Lacotte Renaud on December 16, 2009 09:53
Tags: Database
Similar Questions
-
Is there a way to customize all folders at once with the same details?
I have several folders with several subfolders. The default details that show for items in the files must be changed, but to make each file individually is taxation.
Is there a way to customize all folders at the same time with the same details? Thank you.
Original title: "customize the details of the record.
H,
Thanks for the sharing of information, happy in the knowledge that you have addressed the issue. Your efforts to solve this problem is appreciated. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows.
-
Is there a way to find discussions that I started in the past?
As the title says... I wish I could find the discussions that I started in the past... because I forgot a couple of responses that you guys provided me. =)
Sorry to post here but I didn't know where to post... I especially use Indesign however.
Thank you!
-
Y at - it a web portal that allows me to access my account to sync when I'm not in Firefox?
Sorry, unless Mozilla or an add-on developer comes up with a FirefoxHome app (like what is available for iOS) for the Blackberry OS, it does work with Firefox sync service.
No, it is not a portal for access to your web synchronization data.
-
Is there a way we can we Adobe Creative cloud with the signing in?
We try to do things, but we need to be signed in please help
Initially, you need to sign in with your Adobe ID after that, you will be able to work with it offline.
-
I'm moving from Vista to Windows 7. I get a question that tells me that I need a BIOS upgrade. I have an Inspiron 1720 laptop model. Is there a way to find the update is necessary?
original title: bios update
Hello
you have a problem here as Dell does not have Windows 7 drivers available for your model of laptop etc, etc.
Unfortunately, you need these Windows 7 drivers, etc. to upgrade to Windows 7
read the information on your laptop on the link below
For more information contact Dell about this
Dell support:
Dell support at the link above.
http://en.community.Dell.com/support-forums/default.aspx
Dell's Support Forums at the link above.
-
is there a way to find the user (lanid) based on the name of the computer.
is there a way to find the user (lanid) based on the name of the computer. I try nbtstat - has, but it don't did me not what I needed.
is there a way to find the user (lanid) based on the name of the computer. I try nbtstat - has, but it don't did me not what I needed.
Do you mean the name of a Windows of a remote computer logon account? There is more than one because Windows 7 allows multiple concurrent interactive sessions. In any case, this could point you in the right direction:
PsExec \\NameOfPC cmd.exe / user: YourUserNamePsLoggedOnThe first command will not work unless you have an account admin on the remote machine.You can download the PS tools from here. -
Is there a way to find your license key in your photoshop on the computer program?
I can't find my license key is there a way to find it in the program itself?
Hi Carpentier,
Please visit the link below to find the serial number.
Quickly find your serial number
Let us know if it helps.
~ Mohit
-
RDBMS Version: 11.2.0.3
Platform: Oracle Linux 6.2
The following query gives the size of patterns. But if there is no large table in these schemas that can be narrowed (IE. High tide being reset) then the actual size of these schemas will be less indicated below.
Is there a way to find the size of a schema, as if the reset of the HWM in all tables in it?
SQL > select master, sum (bytes/power (1024,3)) GB of dba_segments group by owner by Go order desc;
OWNER GB
------------------------------ ----------
SBTOEL 1798.49951
MIGPHS 228.772522
SYS 22.4576416
MIGSTATIC 4.79718018
MIGRFS 2.39648438
SYSTEME.523681641
SYSMAN.277893066
.
.
.
Tom wrote:
RDBMS Version: 11.2.0.3
Platform: Oracle Linux 6.2
The following query gives the size of patterns. But if there is no large table in these schemas that can be narrowed (IE. High tide being reset) then the actual size of these schemas will be less indicated below.
Is there a way to find the size of a schema, as if the reset of the HWM in all tables in it?
SQL > select master, sum (bytes/power (1024,3)) GB of dba_segments group by owner by Go order desc;
OWNER GB
------------------------------ ----------
SBTOEL 1798.49951
MIGPHS 228.772522
SYS 22.4576416
MIGSTATIC 4.79718018
MIGRFS 2.39648438
SYSTEME.523681641
SYSMAN.277893066
.
.
.
given zero HWM does NOT change the amount of consumed disk space.
-
Is there a way I can share files between users on the same Mac without an internet connection?
Hello world!
Quick question here: is there a way I can share files between users on the same Mac without an internet connection?
I have two users say that A and B. If I go the long way via the 'Go' menu > 'Computer', I ended up being told to contact my computer or the network administrator for assistance. Both users are admin one and file sharing is allowed in system preferences... I have to admit that I use 10.9.5 because my MacBook Pro would not work with OS Xs national parks.
Any ideas would be cool because I'm sure that it used to work fine with "Snow Leopard" without being connected to the internet - or should I just send an email to myself and recover the files on the other user :-) to recover my USB is
Choose go to folder from the Finder Go menu, provide/Users/Shared/as the path and place the files.
(142147)
-
Is there a way to return to Yosemite? I hate the appearance of Photos of El Capitan. (somuchso I want to get rid of my MacBook. As in the window).
I don't know what the customer (if any) Apple had in mind in the design of the item pictures of El Capitan, but I want that he TAKES.
Can I go back to the Yosemite OS I had before?
Hi BanditQueen
You don't have to use it. You can continue to use iPhoto or a 3rd party app.
-
is there a way to put a "New tab" button in the toolbar?
I was wondering is there a way to put a "New tab" button in the toolbar?
Please read this thread to get help:
https://support.Mozilla.com/en-us/questions/817126#answer-177241
-
I already bought the movie HD, 'V for Vendetta', before it came with "iTunes Extras" but my purchased copy does not come with the Extras. Is there a way to fix this without having to buy the movie again?
I was told that movies in the iTunes Store can be changed to include "iTunes Extras" if originally it did not come with extras. But there is a catch you get just the extras if you buy just the issue for the first time. If you have already purchased it, your version may not have the extras. This means that if you want the extras, buy the movie again.
If you now get the Extras will depend on what the movie studio did for example if they have updated the version you have purchased, or replaced by a new version (which will be treated as a separate purchase): buy and play movies with iTunes Extras - Apple Support
-
is there a way to make acrobat from adobe (free version) the default display on an iphone 5, ios 9.3.2?
Unfortunately, there is no such mechanism. This is a restriction imposed by Apple.
-Dov
-
Is there a way I can trigger my characters triggers in the world? I want to listen to with him in the obs and be able to do while ingame triggers
Thus, control triggers in CH all streaming a game via OBS (like having your character in the corner and your fullscreen game)? To control triggers CH I believe that enforcement must be active, so I couldn't choose another app/game on PC and press keys to trigger (if I CH running and switch to Photoshop, for example, keyboard triggers will not currently work). But I have not personally tried something like this yet - there must be some sort of solution (2 computers?). I know that we're working on more ways to feed and export your character alive in future versions, so ideally this workflow can be easier on the road.
Maybe you are looking for
-
I recently got a new laptop with Windows 10. I can't my Ipod Nano to sync. When I run the diagnostic the Ipod Nano does not appear as a device
-
Failed to start HP G71 - ordered and used recovery DVD-1 0f 2 loads of DVD part way and stops
Daughter in law laptop Specs: HP G71-329WM S/N [text removed for privacy] (on the 30 day warranty) NBR of product. - BD4QV-DFVWY Intel Celeron 900-4096 mb BIOS Version - F-10 Problem appeared as start-up blocking, no error message, stops on the Logo
-
I'm having a problem with SetDir as SetCurrentDirectory (windows API). If I use GetProjectDir to get the current directory of the project and add a lower case \\DAT\ it everything works fine (IE changes in path). The problem occurs when I try to chan
-
IMAQ edge tool 2 'first + last edge' - returns the position of the first border
I use 'IMAQ edge tool 2.vi' with the whole process in order to detect the 'first and last edge. It is obvious to edge coordinates the infromation seeing that it returns only a single point. Where are the coordinates of the last edge detection? Note:
-
AMD xp 3400 upgrade cooling fan
I have the HP desktop with amd xp processor a660n 2800 in it. I'm upgrading the Processor 3200 xp and I want to know if the Rosewill rcx-z100r coolong fan can be used with this upgrade. It was recommended by newegg but it says for amd xp 3400. I want