Viewing 13 posts - 241 through 253 (of 253 total)
Thanks for the info and the catch, Charlotte. I apparently didn't think through that @@ERROR part enough. The adReturnValue thing might be usefull for me to know in the future.
August 20, 2004 at 8:48 am
DBCC SHOWCONTIG will provide fragmentation information. Look at the other DBCC commands as well. One does on online index DEFRAG and another does a more offline index rebuild (DBCC REINDEX...
August 19, 2004 at 8:21 pm
I don't suppose its as simple as a fragmented index? The previous 2 responses are definite possibilities, though. If execution plan shows it using the wrong index and you can't...
August 19, 2004 at 7:33 pm
The SQL Server version is as follows. Note that the Oracle version could very well be different and if so would likely need to be obtained from an Oracle specific...
August 19, 2004 at 7:15 pm
CREATE PROCEDURE time?
Yes but I don't know how. I'm actually surprised you have that problem because I...
August 19, 2004 at 7:02 pm
Are you after pretty graphics or just the detail? It sounds to me like you are more after the DDL than nice presentation. If that is the case from SQL...
August 19, 2004 at 6:40 pm
Grumble grumble grumble. The first reply was extensive and when I hit Preview.....gone. This will be a little more curt (believe it or not).
Create a variable based table with BusinessClassID,...
August 19, 2004 at 6:23 pm
I can only think of 2 other options but they may not fly.
1) if there are a limited number of possibilities being bandied about you could code each one within...
August 19, 2004 at 3:08 pm
I hate doing string manipulation like this, but here you go. REVERSE makes it possible. I would consider this to be a good candidate for a function if you actually...
August 19, 2004 at 2:49 pm
It could be done using dynamic SQL such as:
declare @RemoteLoc varchar(100)
set @RemoteLoc = ( SELECT Location FROM MyEnvirontmentTable WHERE Key = 'Purpose' )
-- Think of this as creating a temporary...
August 19, 2004 at 2:28 pm
First, I know of no way to access the return value of a stored procedure outside of T-SQL such as in the form of an error code or the like...
August 19, 2004 at 2:15 pm
I'm not saying that this will run lightning fast, but I believe the following would work. Below is a SQL function definition that will take a string and create various...
August 19, 2004 at 1:46 pm
As far as the dynamic table name, consider using a local temporary table unless you need the table to be available beyond the current connection scope. It gives you a...
August 19, 2004 at 8:15 am
Viewing 13 posts - 241 through 253 (of 253 total)