local lnHandle lnHandle=SQLStringConnect('DRIVER=SQL Server;SERVER=cetin\cetin;Trusted_connection=Yes') SQLEXEC(lnHandle, "USE pubs") SQLEXEC(lnHandle, "USE master; SELECT ?p1; SELECT DB_NAME()") ? sqlresult.exp ? sqlresult1.exp SQLEXEC(lnHandle, "SELECT DB_NAME()") ? sqlresult.exp SQLDISCONNECT(lnHandle)I see identical command on SQL Profiler, but result is not identical.