Viewing 14 posts - 1 through 14 (of 14 total)
I eventually had to abandon the dynamic sql because we are using ADO recordsets and they don't like it when dynamic SQL or temp tables are used.
Instead a create...
March 10, 2005 at 10:41 am
I''m sad to say i've given up using a normal query and have had to resort to dynamically created the sql statment. This returns the resultset in an instant.
March 4, 2005 at 9:14 am
Thats what i tried original and the reason im was using a subquery is because i want SQL to execute the subquery first so that it doesn't scan the whole...
March 4, 2005 at 8:37 am
Thanks, but still no joy.
I could dynamically create the SQL statement by creating a cursor from, Select *
from tblSite where cust_fk = 104536 and then created the IN clause.
This seems...
March 4, 2005 at 8:28 am
I tried it that way to begin with but it gave me the same problem. I have tired the traditional join method where the join is specifed in the where...
March 4, 2005 at 8:20 am
I run the script below in query analyser and then copy and paste the results into the vb project.
set concat_null_yields_null off
select
'Parm String' ='Set adParm = .CreateParameter("@' + RIGHT(name,LEN(name)) +...
February 25, 2005 at 2:32 am
When naming index include the field names and the order.
e.g. IX_tblName_Field1_Field2
This helps when writing the where clause because you can tell by the name what order to write the criteria
E.g....
December 10, 2004 at 2:31 am
It makes no difference which method you use. A value if true is returned as soon as a row matching the criteria has been found.
If you still not convinced show...
May 28, 2004 at 2:10 am
My concern isn't with locking its with inefficient use of resources.
Have i misunderstood what is meant by locking. My understanding is that you only get locking during the execution of...
May 4, 2004 at 10:12 am
I'm still not convinced.
With the second method you may still suffer locks because one or more of the client applications could log on at the same time and request data...
April 29, 2004 at 4:35 am
What do you mean by proper permissions? I read somewhere that SQL server would set up all the permissions automatically or was i just misdunderstood.
November 20, 2003 at 5:11 am
Have used profiler and suspect that access projects on certain occasions runs the reconfigure command. There is nothing in the code that we have written that even touches upon any...
October 29, 2003 at 5:00 am
How is then that I create a table and try to insert in a separate process does it timeout?
WE use access projects to access the databases. Could this be executing...
October 28, 2003 at 9:51 am
It is running under the system account. What is the minimum level of privileges that the domain account can be run under? Does the server have to be restarted? Will...
October 22, 2003 at 10:55 am
Viewing 14 posts - 1 through 14 (of 14 total)