debasisdas 580 Posting Genius Featured Poster

222

debasisdas 580 Posting Genius Featured Poster

Read books to learn more.

debasisdas 580 Posting Genius Featured Poster

Hay Soma,

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

226

debasisdas 580 Posting Genius Featured Poster

no matter where you hide, if you are a terrorist we will find you

Yes, Pakistan is not safe for terrorists any more.

debasisdas 580 Posting Genius Featured Poster

240

debasisdas 580 Posting Genius Featured Poster

try something like this

select max(id), name
from table_name
group by id
having name = 'NAME'
order by id
debasisdas 580 Posting Genius Featured Poster

244

debasisdas 580 Posting Genius Featured Poster

248

debasisdas 580 Posting Genius Featured Poster

then why not use MAX(ID)

debasisdas 580 Posting Genius Featured Poster

what exactly is last row ?

When you store records in database , it is not necessary that the last entered row will be always stored at the bottom of the table.

debasisdas 580 Posting Genius Featured Poster

1. Place the database in Machine 1.
2. Set the database path in the setup to the desired path (Machine 1).
3. Install the application in Mac 2, Mac 3,......

It will work every where.

P.manidas commented: It has worked nicely +4
debasisdas 580 Posting Genius Featured Poster

248

debasisdas 580 Posting Genius Featured Poster

250

debasisdas 580 Posting Genius Featured Poster

252

debasisdas 580 Posting Genius Featured Poster

256

debasisdas 580 Posting Genius Featured Poster

258

debasisdas 580 Posting Genius Featured Poster

260

debasisdas 580 Posting Genius Featured Poster

264

debasisdas 580 Posting Genius Featured Poster

You need to store the database file in a network path and specify that path in your connection string code.

debasisdas 580 Posting Genius Featured Poster

266

debasisdas 580 Posting Genius Featured Poster

yes you have to use SELECT INTO....

debasisdas 580 Posting Genius Featured Poster

270

debasisdas 580 Posting Genius Featured Poster

try the following , may work for you.

DELETE ServiceID FROM tblServices 
where serviceid in (select ServiceID FROM tblServices GROUP BY ServiceID HAVING MID(ServiceID,1,2)='SG')
debasisdas 580 Posting Genius Featured Poster

What exactly you are trying to do ? using what code ?

debasisdas 580 Posting Genius Featured Poster

You need to use COUNT and GROUP BY to get the desired result.

debasisdas 580 Posting Genius Featured Poster

For the 2nd part of your question, you need to loop through all the tables in the desired schema and run the count() query using EXECUTE IMMDEIATE.

What exactly you mean by take dump of data ?

thekashyap commented: Exactly what I was looking for.. +8
debasisdas 580 Posting Genius Featured Poster

then go for this

SELECT TABLE_NAME,NUM_ROWS  FROM ALL_TABLES
WHERE OWNER = 'PM_CMP_MODEL'
debasisdas 580 Posting Genius Featured Poster

272

debasisdas 580 Posting Genius Featured Poster

Hi Abner,

Nice intro. :)

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

278

debasisdas 580 Posting Genius Featured Poster

Try this.

SELECT TABLE_NAME,NUM_ROWS FROM USER_TABLES
debasisdas 580 Posting Genius Featured Poster

Creating /altering table at run time is not a good idea.

why not create the table before executing any insert.

debasisdas 580 Posting Genius Featured Poster

O' girl

You need to read books for all that.

debasisdas 580 Posting Genius Featured Poster

282

debasisdas 580 Posting Genius Featured Poster

i think your column name is post_type not post-type.

debasisdas 580 Posting Genius Featured Poster

Is it possible to do this?

Yes that is very much possible .

What is the code that you are working on to achieve that ?

debasisdas 580 Posting Genius Featured Poster

Hi Davy,

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

286

debasisdas 580 Posting Genius Featured Poster

290

debasisdas 580 Posting Genius Featured Poster

That mean all these days he was hiding in Pakistan.

The big question is Pakistan was with whom Osama or Obama ?

debasisdas 580 Posting Genius Featured Poster

294

debasisdas 580 Posting Genius Featured Poster

298

debasisdas 580 Posting Genius Featured Poster

302

debasisdas 580 Posting Genius Featured Poster

306

debasisdas 580 Posting Genius Featured Poster

308

debasisdas 580 Posting Genius Featured Poster

312

debasisdas 580 Posting Genius Featured Poster

318

debasisdas 580 Posting Genius Featured Poster

318

debasisdas 580 Posting Genius Featured Poster

322