Viewing 15 posts - 11,371 through 11,385 (of 13,462 total)
Florian i recently found out that the procedure sp_send_dbmail is asychronous, so it does not wait for the preocdure to execute before returning control tot eh calling procedure;
in 2000, i...
March 25, 2009 at 12:04 pm
adding a WHERE clause to check if any of the columns changed might be beneficial, but it's going to do a table scan regardless. like
WHERE A.Col1 <> B.Col1
...
March 25, 2009 at 11:57 am
remember that the moment you disconnect, your #tmp table will be DELETED;
it lasts only as long as your session...so you are creating a permenant table on the same database, right?...
March 25, 2009 at 11:12 am
Stamey is right;
sql server does not keep track of queries that were executed, or when a view/function/procedure was last used. You HAVE to have a trace running ...
March 25, 2009 at 10:43 am
could there be a trigger on the destination table that is causing the issue?
March 25, 2009 at 8:35 am
double post.
follow the suggested solutions hee to avoid disjointed answers:
http://www.sqlservercentral.com/Forums/Topic683311-266-1.aspx
March 25, 2009 at 8:22 am
sure, but what is "special characters" for you?
anything not a space and alphanumeric, for example? or are you after specific chars, like hi ascii characters?
here's a simple example
select * from...
March 25, 2009 at 8:11 am
of course...but it depends on what are "special characters" for you;
do you mean where any character is not alphanumeric(or space) like this?
select * from gmact where actname like '%[^a-z,A-Z,0-9 ]%'
or...
March 25, 2009 at 8:06 am
isn't it an html issue, where html does not respect whitespace, carriage returns, line feeds or tabs?
so you need to replace spaces with & n b s p ; or...
March 24, 2009 at 6:53 pm
since you posted the question in a SQL 2000 forum, that's what we assumed you were using.
it is not possible to do that in 2005 or 2008; it was a...
March 24, 2009 at 4:03 pm
the change from your real needs to your psuedo code and fake tables makes the real requirement make no sense.
in your example, you had 6 rows, and you insert the...
March 24, 2009 at 10:11 am
here's how i would do it.
since the natural "order" of the table is important to you, you cannot use row_number() to populate the number column, so you need to...
March 23, 2009 at 11:43 am
in the end, you vb is still just using an ADODB.Recordset and applying filters, right?
vb can take a stored proc's results, or a vb6 function that returns an ADODOB.Recordset, and...
March 23, 2009 at 8:28 am
the way described above is the only way.
SQL Server does not keep track of when a table was accessed, only a trace can be used to determine that.
March 23, 2009 at 7:50 am
I've personally seen issues where SP_UPDATESTATS or UPDATE STATISTICS [specific table name] didn't fix performance issues for stored procs after an upgrade, and I had to actually call DROP STATISTICS...
March 22, 2009 at 1:58 pm
Viewing 15 posts - 11,371 through 11,385 (of 13,462 total)