How can i retrieve city while my i have one field address
length 60 but i don't know what where is city in this field ?

Answers were Sorted based on User's Feedback



How can i retrieve city while my i have one field address length 60 but i don't know what wher..

Answer / tuhina

select cityfldname from DBF where cityfld like '%cityname%'

Is This Answer Correct ?    2 Yes 1 No

How can i retrieve city while my i have one field address length 60 but i don't know what wher..

Answer / chandrasekhar gangireddy

by using DSPPFM on file, type "city" on search fields then press enter u will get the city

Is This Answer Correct ?    1 Yes 1 No

How can i retrieve city while my i have one field address length 60 but i don't know what wher..

Answer / vivek dwivedi

Using Var = %Scan('City' :1: length o the base string)

Is This Answer Correct ?    0 Yes 0 No

How can i retrieve city while my i have one field address length 60 but i don't know what wher..

Answer / paramesh

select cityfldname from DBF where cityfld = '%cityname%'

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More DB400 Interview Questions

how to see number of logical files depending on a pf?...can we declare more than 20 logical files from a single pf? is it possible

4 Answers   ocbc,


can any one tell me what is meant by PSSR? Kindly elaborate it...

1 Answers  


how to add a new field to a file without compiling it?

1 Answers  


In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.

0 Answers   Nous,


What is the primary file?

0 Answers  






How to read a pf in reverse(from last record to first) using cl?

0 Answers  


Define interactive jobs and batch jobs

6 Answers  


Maximum how many fields we can create under a record format of PF?

5 Answers  


I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?

0 Answers  


Why we create the Physical File Member?

5 Answers  


how to restrict upon adding the data for field reference file in DB400

1 Answers  


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

0 Answers  


Categories