Jump to content

Oracle Error Help


Recommended Posts

Posted

oka table ni query chestunte naku ee error vastundi: [b]"ORA-01775: looping chain of synonyms"[/b]

daani artham enti, google cheste artham kaatle, evaraikaina telisunte koncham artham ayyelaa cheppandi.

P.S. I am not a DBA guy, is this something DB guys will take care of or just any other developer ?

Posted

[font="Courier New"][b][size="1"]Cause:[/size][/b][size="1"] Through a series of CREATE synonym statements, a synonym was defined that referred to itself. For example, the following definitions are circular:[/size][/font]
CREATE SYNONYM s1 for s2
CREATE SYNONYM s2 for s3
CREATE SYNONYM s3 for s1 [font="Courier New"][size="1"][b]Action:[/b] Change one synonym definition so that it applies to a base table or view and retry the operation.[/size][/font]

Posted

[font="Courier New"][b][size="1"] ORA-01775 looping chain of synonyms[/size][/b]
[/font] [font="Courier New"][b][size="1"]Cause:[/size][/b][size="1"] Through a series of CREATE synonym statements, a synonym was defined that referred to itself. For example, the following definitions are circular:[/size][/font]
CREATE SYNONYM s1 for s2
CREATE SYNONYM s2 for s3
CREATE SYNONYM s3 for s1 [font="Courier New"][size="1"][b]Action:[/b] Change one synonym definition so that it applies to a base table or view and retry the operation.[/size][/font]

Posted

[quote name='GouthamNanda' timestamp='1373916272' post='1303954799']
[font=Courier New][b][size=1]Cause:[/size][/b][size=1] Through a series of CREATE synonym statements, a synonym was defined that referred to itself. For example, the following definitions are circular:[/size][/font]
CREATE SYNONYM s1 for s2
CREATE SYNONYM s2 for s3
CREATE SYNONYM s3 for s1 [font=Courier New][size=1][b]Action:[/b] Change one synonym definition so that it applies to a base table or view and retry the operation.[/size][/font]
[/quote]

ivanni google chesa bhai, but problem ento artham kaatle ela findout cheyalo, ela solve cheyalo ani.
ivi DB Admin pani huh leka evaru ayina cheyochaa ??

Posted

[quote name='SUbba LIngam' timestamp='1373916628' post='1303954823']

ivanni google chesa bhai, but problem ento artham kaatle ela findout cheyalo, ela solve cheyalo ani.
ivi DB Admin pani huh leka evaru ayina cheyochaa ??
[/quote]


developer / DBA depends on environment

Posted

Db admin panni u cannot drop or create a synonym unless its granted to you.

Posted

ekkada nee tables lo

say for ex.

Table A lo data modify aithe automatic ga Table B some action jaragali oani vunnadai

inkati

Table B lo modify aithe Table A trigger avvali ani vunnadi

so it goes to un ending loop

pl check all synomys that r there on the tables u r using

Posted

[quote name='cherlapalli_jailer' timestamp='1373917305' post='1303954876']
ekkada nee tables lo

say for ex.

Table A lo data modify aithe automatic ga Table B some action jaragali oani vunnadai

inkati

Table B lo modify aithe Table A trigger avvali ani vunnadi

so it goes to un ending loop

[b]pl check all synomys that r there on the tables u r using[/b]
[/quote]

google cheste ee query vachindi : select * from all_synonyms where synonym_name = 'MY_TABLE'
(In my case, its a view),,,,,,, so adi query chesaaka ila undi data:
Owner :Public
Synonym_Name : 'MY_TABLE'
Table Owner : Sysadm
Table Name : 'MY_TABLE'
DB_Link : Blank

so next nenu cheyalsina pani ento cheppu,,,,,,, thank you !

Posted

[quote name='BadBoy23' timestamp='1373916917' post='1303954846']
Db admin panni u cannot drop or create a synonym unless its granted to you.
[/quote]

ok bhayya, maa team lead ni adagaali inka,,,,,,, suppose nuvve solve cheyi ante koncham prepared ga undaamani ikkada adugutunna @$MN @$MN

Posted

[quote name='SUbba LIngam' timestamp='1373917667' post='1303954919']


google cheste ee query vachindi : select * from all_synonyms where synonym_name = 'MY_TABLE'
(In my case, its a view),,,,,,, so adi query chesaaka ila undi data:
Owner :Public
Synonym_Name : 'MY_TABLE'
Table Owner : Sysadm
Table Name : 'MY_TABLE'
DB_Link : Blank

so next nenu cheyalsina pani ento cheppu,,,,,,, thank you !
[/quote]Name change cheyyi. Both tbl n. syn. Have same names

Posted

[quote name='cherlapalli_jailer' timestamp='1373917827' post='1303954936']
Name change cheyyi. Both tbl n. syn. Have same names
[/quote]

existing data chusa, chaala varaku same unnayi both table name and synonym name @$MN @$MN

em cheyamantaaru

×
×
  • Create New...