debasisdas 580 Posting Genius Featured Poster

How fast you are able to connect to oracle server form any client on the same machine as your application . Is is faster than your application connection time ?

debasisdas 580 Posting Genius Featured Poster

What exactly you mean by startup is very slow ?

debasisdas 580 Posting Genius Featured Poster

changing the data type of a field is a bad idea.

griswolf commented: Very succinct. And true. +11
debasisdas 580 Posting Genius Featured Poster

Replace the comma with space in the string and then use LIKE search.

debasisdas 580 Posting Genius Featured Poster

Try using this.

Or simply use the On Screen keyboard.

faroukmuhammad commented: Brilliant, you should work for the CIA... +3
debasisdas 580 Posting Genius Featured Poster

if you had replied to my question, you would have known the difference between the two.

debasisdas 580 Posting Genius Featured Poster

Both query will fetch same output.

It is up to you to decide whether to use coding standards or not.

If you want that take my SQL else pick yours.

debasisdas 580 Posting Genius Featured Poster

You can use either of the queries.

debasisdas 580 Posting Genius Featured Poster

You can create a view like this

CREATE VIEW stu_sub AS SELECT st.studname, su.subjectname, st.marks FROM
    student st, subject su
    WHERE st.subjectcode = su.subjectcode

OR using your SQL and use that.

debasisdas 580 Posting Genius Featured Poster

Ok, to answer your question, you can use either of the queries. Both will give you correct data in the output.

debasisdas 580 Posting Genius Featured Poster

Have you tried using SendKey {BREAK}

debasisdas 580 Posting Genius Featured Poster

If you do not understand my answers why should i reply, what is the use ?

debasisdas 580 Posting Genius Featured Poster

You are right . :)

But to understand my answers, you need to have some basic understanding of SQL.

My question is just to test that.

My question is still open to you. The sooner you reply, the sooner you will get reply :) .

debasisdas 580 Posting Genius Featured Poster

Yes, and if still the problem is there try to remove the order by temporarily.

debasisdas 580 Posting Genius Featured Poster

That is a question from my side to you.

debasisdas 580 Posting Genius Featured Poster

Are you using all the 39 fields in the report ?

faroukmuhammad commented: You are the best... +2
debasisdas 580 Posting Genius Featured Poster

Does that involves a complex query or fetching too many records ?

debasisdas 580 Posting Genius Featured Poster

Many implications to this, but this is not the place to address them.

Exactly.

debasisdas 580 Posting Genius Featured Poster

st. ---- used in query is the table alias. It is a fully qualified name of the field.

Ok, tell me how will you display subjectcode after joining both the tables.

debasisdas 580 Posting Genius Featured Poster

can u post some sample data.

debasisdas 580 Posting Genius Featured Poster

I think you do not need the HAVING part of the SQL.

debasisdas 580 Posting Genius Featured Poster

If you know what is the source code for all those files ,you can definitely recompile those source code to generate the component.

debasisdas 580 Posting Genius Featured Poster

Those seems to be custom controls, Only the author can provide you those.

debasisdas 580 Posting Genius Featured Poster

You need to ask you client for those files.

Once you have the files with you , you need to register those with windows using regsvr32 key.

debasisdas 580 Posting Genius Featured Poster

Your tables should be joined like this

SELECT st.studname, su.subjectname, st.marks FROM 
student st, subject su
WHERE st.subjectcode = su.subjectcode
debasisdas 580 Posting Genius Featured Poster

Do you have both the OCX files with you ?

debasisdas 580 Posting Genius Featured Poster

If you are already getting the desired output using your SQL by joining both the tables, simply create a view based on that SQL. Once the view is created no need to write your SQL again and again. You can directly select from the view.

debasisdas 580 Posting Genius Featured Poster

which part you do not understand ? creating view ?

debasisdas 580 Posting Genius Featured Poster

Put this in a batch file and call as desired.

for /f "tokens=2,3,4 delims=/ " %%a in ('date /t') do set fdate=%%a%%b%%c
for /f "tokens=1,2,3,4,5 delims=: " %%a in ('time /t') do set ftime=%%a%%b%%c%%d%%e
exp userid=DEBASIS/DEBASIS@DEBASIS_DB file=C:\BACKUP\backup%fdate%%ftime%.dmp log=C:\BACKUP\backup%fdate%%ftime%.log
Majestics commented: Marvellous, Thanx +4
debasisdas 580 Posting Genius Featured Poster

Lets see the query you are working on, to solve your assignment.

debasisdas 580 Posting Genius Featured Poster

1. create a backup script.
2. store it in the server.
3. call it remote when required.

debasisdas 580 Posting Genius Featured Poster

You need to run the EXP utility from the user account.

debasisdas 580 Posting Genius Featured Poster

in VB 6 or in .NET ?

debasisdas 580 Posting Genius Featured Poster

adodc is a control to connect to the database and is not a database itself.

debasisdas 580 Posting Genius Featured Poster

You cam also use FileSystemObject.

debasisdas 580 Posting Genius Featured Poster

This may be helpful to you.

debasisdas 580 Posting Genius Featured Poster

What you need to use is proper key words for search, will will always hit what you are looking for.

debasisdas 580 Posting Genius Featured Poster

You need to use GROUP BY clause in your query.

debasisdas 580 Posting Genius Featured Poster

i think you said you want to find the highest block_id

then why using max(unique_id)

debasisdas 580 Posting Genius Featured Poster

How you populate the grid ? is it not from recordset ?

debasisdas 580 Posting Genius Featured Poster

have you opened the record set ?

debasisdas 580 Posting Genius Featured Poster

that can be done using a view also.

If you have Hugh records, the insert into temp table will take a lot of time.

debasisdas 580 Posting Genius Featured Poster

if you are simply selecting from other tables , why need to store the result set.

debasisdas 580 Posting Genius Featured Poster

why not use a view instead.

debasisdas 580 Posting Genius Featured Poster

I dont understand the code. No where in the code mentioned to insert the image

SavePicture()---does that for you.

as i said this only a sample and is not fully customized to cater to your exact requirement.

first insert a record into database without he document and then modify the code in the link.

debasisdas 580 Posting Genius Featured Poster

your procedure contains only the SQL , and nothing else ?

debasisdas 580 Posting Genius Featured Poster

have you tried for those file formats ?

debasisdas 580 Posting Genius Featured Poster

So what are you doing after that SQL query ?

debasisdas 580 Posting Genius Featured Poster

Please read this and this.


these are sample codes only.

debasisdas 580 Posting Genius Featured Poster

You need to fix the other joins as well.