Jump to content

Recommended Posts

Posted

[quote name='laggaitthu' timestamp='1346355519' post='1302409463']
nenu download chesina flie ni DB lo kottha table create chesi aa table ki already unna zips table ki OUTER JOIN use chesi query raayamanandu
[/quote]
ok CASE or NVL,NVL2 lanti functions compulsory ga use cheyalsi vasthundi
if else type kabatti

  • Replies 74
  • Created
  • Last Reply

Top Posters In This Topic

  • laggaitthu

    34

  • cherlapalli_jailer

    13

  • vikuba

    11

  • Cherry25

    9

Popular Days

Top Posters In This Topic

Posted

[quote name='Aamphat' timestamp='1346355554' post='1302409467']
nen thread ni follow aituna...its a simple CASE thing.
naa deggara table lekunda nen query etla run cheyaali ?
example create chesi run cheyadama antey not feasible
[/quote]
bro na daggara unna oka zipCode.csv file ki table create cheyyali query ivvu mama

Posted

[quote name='laggaitthu' timestamp='1346355697' post='1302409482']
bro na daggara unna oka zipCode.csv file ki table create cheyyali query ivvu mama
[/quote]
babu ..u can do this easily using any development tool...toad/sql developer

Posted

[quote name='laggaitthu' timestamp='1346355519' post='1302409463']
nenu download chesina flie ni DB lo kottha table create chesi aa table ki already unna zips table ki OUTER JOIN use chesi query raayamanandu
[/quote]
this one i told u earlier right?

Posted

[quote name='cherlapalli_jailer' timestamp='1346356227' post='1302409552']
this one i told u earlier right?
[/quote]
yeah malli oka sari chepu mama endhukante nenu create chese new table lo kuda ZIP_CD and ZIP_STATE ane fields ey unnayi em ayina primary key ga declare cheyyala?

endhukanate ee table ni use chesi already unna table ki outer join chesi compare cheyyali zips

Posted

[quote name='laggaitthu' timestamp='1346356462' post='1302409587']
yeah malli oka sari chepu mama endhukante nenu create chese new table lo kuda ZIP_CD and ZIP_STATE ane fields ey unnayi em ayina primary key ga declare cheyyala?

endhukanate ee table ni use chesi already unna table ki outer join chesi compare cheyyali zips
[/quote]
if it is for one time then no need for PK etc..

If it is used from external applications then u need have PK , indexing..

First start with simple table..and load the data

Posted

I imported the give data into MS-Access...created a table...performed the below query...

SELECT ZIP.ZC, ZIP.ZS, ZIP.ZF,IIF(ZC='00210',ZIP.ZS,ZIP.ZF)
FROM ZIP;
and it works fine...
mari nee deggara em DB undhi ? em tools unaaye

Posted

[quote name='Aamphat' timestamp='1346356720' post='1302409621']
I imported the give data into MS-Access...created a table...performed the below query...

SELECT ZIP.ZC, ZIP.ZS, ZIP.ZF,IIF(ZC='00210',ZIP.ZS,ZIP.ZF)
FROM ZIP;
and it works fine...
mari nee deggara em DB undhi ? em tools unaaye
[/quote]
oracle sql developer use chesthunna

Posted

table create chesa...ela import chesav bhayya nuvu system meedha file lo unna data ni?[quote name='Aamphat' timestamp='1346356720' post='1302409621']
I imported the give data into MS-Access...created a table...performed the below query...

SELECT ZIP.ZC, ZIP.ZS, ZIP.ZF,IIF(ZC='00210',ZIP.ZS,ZIP.ZF)
FROM ZIP;
and it works fine...
mari nee deggara em DB undhi ? em tools unaaye
[/quote]

Posted

[color=#282828][font=helvetica, arial, sans-serif]select CASE count(*) when 0 then 'F' else ZIP_STATE end as state from table_nm where ZIP[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]in (select ZIP_code from newtable) [/font][/color]

Posted

nuvu ichina data undhi kadha..simple dhi..states and zip...copied only few rows into notepad..
and then exported in access as table..
then performed query..[quote name='laggaitthu' timestamp='1346356922' post='1302409652']
table create chesa...ela import chesav bhayya nuvu system meedha file lo unna data ni?
[/quote]

Posted

[quote name='Aamphat' timestamp='1346357009' post='1302409667']
nuvu ichina data undhi kadha..simple dhi..states and zip...copied only few rows into notepad..
and then exported in access as table..
then performed query..
[/quote]
oracle SQL devlpr lo table create chesa and nenu import cheyalsina table lo 40k rows unnayi dhenni ela import cheyyali oracle SQL developer loki?

Posted

laggaithu...naa model vadiley...
jailer vesey queries try cheyi..
na deggara ne table ledhu...nenu maa DBs lo kotha tables create cheyalenu..

on generic note use jailers suggestions..naaku vastey nen kuda inputs istha

Posted

[quote name='laggaitthu' timestamp='1346355697' post='1302409482']
bro na daggara unna oka zipCode.csv file ki table create cheyyali query ivvu mama
[/quote]

do you still need this
or did you find the solution
if not this will create the CSV file just edi the table contents as required

[color=#333333]BCP Database..table out c:\sysobjects.txt -c -t, -T –S<[/color][i]servername>[/i]

×
×
  • Create New...