Jump to content

Recommended Posts

Posted

yes/....correct adhe chedham anukuntuna kani A table kuda C table ki linked undhi...so adhi allow cheyaledhu... 

 

its A---b --C--- A ..... so dentlo chesina conflict avuthundhi FK vala

Assalu ala ela??? howwwww???????  :3D_Smiles:  :3D_Smiles:  .. Requirement emi???

 

 

we need DB experts gallery_36163_1_1292009.gif  ltt

  • Replies 45
  • Created
  • Last Reply

Top Posters In This Topic

  • suthivelu

    12

  • rapchik

    9

  • AFDBAbhimanini

    9

  • k2s

    6

Popular Days

Top Posters In This Topic

Posted

constraints tesesi insert chey after everything is inserted constraints pettu

constraints ella testhav??

Posted

constraints tesesi insert chey after everything is inserted constraints pettu

gallery_36163_1_1292009.gif   inka constraints endhukuuuuu

Posted

constraints ella testhav??

alter table
   table_name
DISABLE constraint
   constraint_name

 

alter table

   table_name
ENABLE constraint
   constraint_name;

Posted

gallery_36163_1_1292009.gif   inka constraints endhukuuuuu

insert chesa apudu constraints disable cheyali ilage errors vastay once everything is loaded enable them dats it 

Posted

alter table
   table_name
DISABLE constraint
   constraint_name

 

alter table

   table_name
ENABLE constraint
   constraint_name;

 

 

insert chesa apudu constraints disable cheyali ilage errors vastay once everything is loaded enable them dats it 

:3D_Smiles:

Posted

insert chesa apudu constraints disable cheyali ilage errors vastay once everything is loaded enable them dats it 

gallery_731_15_100340.gif

Posted

syntax overview

There are two types of multi-table insert as follows:

  • INSERT FIRST; and
  • INSERT ALL.

Multi-table inserts are an extension to INSERT..SELECT. Syntax is of the following form:

INSERT ALL|FIRST
[WHEN condition THEN] INTO target [VALUES]
[WHEN condition THEN] INTO target [VALUES]
...
[ELSE] INTO target [VALUES]
SELECT ...
FROM source_query;

We define multiple INTO targets between the INSERT ALL/FIRST and the SELECT. The inserts can be conditional or unconditional and if the record structure of the datasource matches the target table, the VALUES clause can be omitted. We will describe the various permutations in this article.

 

source : http://www.oracle-developer.net/display.php?id=209

 

 

my $0.01

Posted

insert chesa apudu constraints disable cheyali ilage errors vastay once everything is loaded enable them dats it 

its not a constarint antudhi systemmm.,,,

 

Msg 3728, Level 16, State 1, Line 1
'User_Division_ID' is not a constraint.
Msg 3727, Level 16, State 0, Line 1
Could not drop constraint. See previous errors.
Posted

syntax overview
There are two types of multi-table insert as follows:

  • INSERT FIRST; and
  • INSERT ALL.

Multi-table inserts are an extension to INSERT..SELECT. Syntax is of the following form:

INSERT ALL|FIRST
[WHEN condition THEN] INTO target [VALUES]
[WHEN condition THEN] INTO target [VALUES]
...
[ELSE] INTO target [VALUES]
SELECT ...
FROM source_query;
We define multiple INTO targets between the INSERT ALL/FIRST and the SELECT. The inserts can be conditional or unconditional and if the record structure of the datasource matches the target table, the VALUES clause can be omitted. We will describe the various permutations in this article.


source : http://www.oracle-developer.net/display.php?id=209



my $0.01

MS SQL Server lo inka raledhu bhayya INSERT FIRST and INSERT ALL support
Posted

 

its not a constarint antudhi systemmm.,,,

 

Msg 3728, Level 16, State 1, Line 1
'User_Division_ID' is not a constraint.
Msg 3727, Level 16, State 0, Line 1
Could not drop constraint. See previous errors.

 

kudirithe aa 3 tables ddl lu extract chesi pampu.....

Posted

 

its not a constarint antudhi systemmm.,,,

 

Msg 3728, Level 16, State 1, Line 1
'User_Division_ID' is not a constraint.
Msg 3727, Level 16, State 0, Line 1
Could not drop constraint. See previous errors.

 

 

This is not correct way...try to insert data first in parent table (which has primary key) and then try to insert related data in child tables(which has foreign key)

Posted

 

its not a constarint antudhi systemmm.,,,

 

Msg 3728, Level 16, State 1, Line 1
'User_Division_ID' is not a constraint.
Msg 3727, Level 16, State 0, Line 1
Could not drop constraint. See previous errors.

 

nuvvu insert chess values anni unique ena? okasari table constraints anni check chey

×
×
  • Create New...