Jump to content

Calling SQL guys, HELP


Recommended Posts

Posted

CHECK Constrains ko modify option ledhu anukuntunta bhayya.  sCo_^Y sCo_^Y sCo_^Y
as far as i know, u need to drop it and create it again.

incase vere solution edaina dorikithe ikkada please post cheyyi. future lo evarikaina help avochu.

  • Replies 40
  • Created
  • Last Reply

Top Posters In This Topic

  • Kakateyudu

    15

  • Ranga_The_Donga

    6

  • satti from attili

    4

  • chowdary9

    3

Popular Days

Top Posters In This Topic

Posted

[quote author=Kakateyudu© link=topic=212708.msg2606234#msg2606234 date=1310742960]
drop aa evadevadu use cheskuntunnado aa table.....  sFun_duh sFun_duh sFun_duh  danni CHECK constraint antara mama....

no way na add cheyyatam without drop  sCo_^Y sCo_^Y sCo_^Y sCo_^Y
[/quote]

You can do some better work around.. if u peel that your allowable list increases time to time... i mean nuvvu ippudu code lo allowabale only 4 items unnayi anuko.. future lo inka perugutayi anuko.... it is better.. to come up with another table have this field refereced to the new table (referential integrity), so that way you can have full freedom to add / delete allowable values.
With CHECK constraint.. it is difficult to add/remove.. since it got to be dropped all the time...

This would be an ideal approach.
[b]I know ORACLE only.. not sure how other DB's work.. [/b]

Posted

[quote author=INFATUATION link=topic=212708.msg2606246#msg2606246 date=1310743088]
INSERT INTO Kakateeyudu (code)
VALUES (6)


ila run chesthe emani error vasthundhi???? sCo_^Y sCo_^Y sCo_^Y
[/quote]


INSERT INTO Kakateeyudu (code)
VALUES (6) 

kakateyudu anedhi table name and code andulo oka coloum baa  H&*() H&*() H&*() H&*() H&*()

Posted

[quote author=Dookudu link=topic=212708.msg2606258#msg2606258 date=1310743282]
CHECK Constrains ko modify option ledhu anukuntunta bhayya.  sCo_^Y sCo_^Y sCo_^Y
as far as i know, u need to drop it and create it again.

incase vere solution edaina dorikithe ikkada please post cheyyi. future lo evarikaina help avochu.
[/quote]

drop cheyyochu ga kani eppudu chala mandi using aa table ni kottukoni chastaru kasepu  H&*() H&*() H&*() H&*()

Posted

[quote author=Kakateyudu© link=topic=212708.msg2606266#msg2606266 date=1310743355]

INSERT INTO Kakateeyudu (code)
VALUES (6) 

kakateyudu anedhi table name and code andulo oka coloum baa  H&*() H&*() H&*() H&*() H&*()
[/quote]

thelusu andhuke insert cheyamantunna...em error vasthudha ani thinking...

ledante....scripout table in new window.......ah script ikkada post cheyyi....
u will get direct ans.....

Posted

[quote author=Hitman link=topic=212708.msg2606259#msg2606259 date=1310743309]
You can do some better work around.. if u peel that your allowable list increases time to time... i mean nuvvu ippudu code lo allowabale only 4 items unnayi anuko.. future lo inka perugutayi anuko.... it is better.. to come up with another table have this field refereced to the new table (referential integrity), so that way you can have full freedom to add / delete allowable values.
With CHECK constraint.. it is difficult to add/remove.. since it got to be dropped all the time...

This would be an ideal approach.
[b]I know ORACLE only.. not sure how other DB's work.. [/b]
[/quote]

as far as in know this will be the only thin i need to inser mama, nen just aa database ni use cheskuntunna.... inka evadiki ina aa avasaram vaste valle cheskuntaru kada  s%H# s%H# s%H# s%H#

Posted

[quote author=INFATUATION link=topic=212708.msg2606274#msg2606274 date=1310743498]
thelusu andhuke insert cheyamantunna...em error vasthudha ani thinking...

ledante....scripout table in new window.......ah script ikkada post cheyyi....
u will get direct ans.....
[/quote]

values 6 annav.....  dani meaning endhi baa  sCo_^Y sCo_^Y sCo_^Y sCo_^Y

Posted

[quote author=Kakateyudu© link=topic=212708.msg2606284#msg2606284 date=1310743568]
as far as in know this will be the only thin i need to inser mama, nen just aa database ni use cheskuntunna.... inka evadiki ina aa avasaram vaste valle cheskuntaru kada  s%H# s%H# s%H# s%H#
[/quote]

Correct ee gani... overall aga edaina rapid changes untayi ante.. try to see this audia..  ante.. naa past project lo .. chala change chesamu ila.. just sharing experience.......

Posted

[quote author=Kakateyudu© link=topic=212708.msg2606297#msg2606297 date=1310743667]
values 6 annav.....  dani meaning endhi baa  sCo_^Y sCo_^Y sCo_^Y sCo_^Y
[/quote]

just adhi oka example value ba.....ah statement ni execute chesthe neeku error vasthundhi.....ah error ikkada post chesthe.....work out cheyochu ani alla anna....

ledante paina Jujubi chepinattu.....table structure script out cheyyi.....ah script ikkada post cheyyi.....inka solve cheyadaniki easy ga vuntadhi....

Posted

[quote author=Kakateyudu© link=topic=212708.msg2606297#msg2606297 date=1310743667]
values 6 annav.....  dani meaning endhi baa  sCo_^Y sCo_^Y sCo_^Y sCo_^Y
[/quote]

idhi syntax

INSERT INTO table_name (column1, column2, column3,...)
VALUES (value1, value2, value3,...)

thanu cheppindhi example..oorike oka number random ga cheppadu

Posted

[quote author=Kakateyudu© link=topic=212708.msg2606273#msg2606273 date=1310743469]
drop cheyyochu ga kani eppudu chala mandi using aa table ni kottukoni chastaru kasepu  H&*() H&*() H&*() H&*()
[/quote]
[url=http://msdn.microsoft.com/en-us/library/aa259104(v=sql.80).aspx]http://msdn.microsoft.com/en-us/library/aa259104(v=sql.80).aspx[/url]


msdn lo aithe modify ki solution kothadi create cheyyadam ane cheppadu baaa. see the above link

Posted

[quote author=INFATUATION link=topic=212708.msg2606274#msg2606274 date=1310743498]
thelusu andhuke insert cheyamantunna...em error vasthudha ani thinking...

ledante....scripout table in new window.......ah script ikkada post cheyyi....
u will get direct ans.....
[/quote]

nen asale kotha baa....  !q# !q# !q# !q#  aa scrip out cheyyatam ante endo kuda cheppandi.....  SQL developer lo vunna  H&*() H&*() H&*()

Posted

[quote author=ammulu link=topic=212708.msg2606326#msg2606326 date=1310743860]
idhi syntax

INSERT INTO table_name (column1, column2, column3,...)
VALUES (value1, value2, value3,...)

thanu cheppindhi example..oorike oka number random ga cheppadu
[/quote]

not enough values antundhi  cry@fl cry@fl cry@fl cry@fl

Posted

[quote author=Kakateyudu© link=topic=212708.msg2606370#msg2606370 date=1310744229]
not enough values antundhi  cry@fl cry@fl cry@fl cry@fl
[/quote]sql server use chestunnava. ayte kanuka table meeda right click kotti generate script ani untadi. adi click cheste table ni mottam create script output kinda vastadi. adi ikada post chey S%Hi

×
×
  • Create New...