(show pictures: selectblob data into: tmp_pic from PIC where id=1;
Pic_1. Setpicture (tmp_pic))
CodePudding user response:
Also, in the name of the machine, open the login interface also significantly faster and with IP address, where does the server have set wrong, or the operation of the lack of pb files?CodePudding user response:
Usually is to use the IP address is faster than in the name of the machineYou this is special
CodePudding user response:
Generally in the program initialization, ready to connect to the database, exit the program, disconnect from the database, such a long connection, just slow in the process of initialization program, the program run, is unlikely to feel slow, you are in the query Image Image, you don't have to do to connect to the database, the direct use of connection for the queryCodePudding user response:
Haven't met youFor the top
CodePudding user response:
# 3 floor, selectblob can under the way of disconnect database query, I think impassability, and is also not including selectblob login window, two differential speed a lot, I feel a little bit different4th floor, usually is to use the IP address is faster than in the name of the machine, I have made two server, an xp, a winserver2003, are all the same problem, have you ever tried?
CodePudding user response:
Should be IP is faster than the domain name, little step analysis, this problem has nothing to do with these two things, you should be other reasons, look at your other parameters in the connection stringCodePudding user response:
The sqlca. DBMS="MSS Microsoft SQL Server 6. X"The sqlca. Database=as_db_name
The sqlca. Servername=profilestring (gs_ini, "Database", "servername", "")
The sqlca. Logid=profilestring (gs_ini, "Database", "logid", "sa")
The sqlca. Logpass=profilestring (gs_ini, "Database", "logpass", "")
The sqlca. The autocommit=false
The sqlca. Dbparm="CommitOnDisconnect='No'"
This is to connect to the database
CodePudding user response: