Viewing 15 posts - 1,216 through 1,230 (of 1,270 total)
You either have to use openrowset or create a linked server to the other server. I prefer creating a linked server because with openrowset, you have to create the connection...
January 16, 2004 at 9:51 am
Do you have any account that works and has SA privelages?
January 16, 2004 at 8:51 am
Just in case there's some incompatibility that we haven't thought of, I would suggest logging into the SQL Server and recreating the package from scratch and seeing how that works.
Otherwise,...
January 16, 2004 at 8:34 am
Actually, there is a shortlink in Enterprise Manager.
If you're already in the db you want to be in, click "Tools" on the menu at the top of the console window...
January 15, 2004 at 6:00 pm
Use Query Analyzer to run your sp's. It's listed under the SQL Server tools.
Just type in the same SQL command that you would pass in from the ASP page.
Query Analyzer...
January 15, 2004 at 5:21 pm
The example I did above should return it. It does when I tested it on my server.
Post your sp and let's see.
January 15, 2004 at 4:40 pm
@@identity would only return the identity for the last record inserted, not for the whol recordset. To do this for a single record:
Create Procedure dbo.TestGuid AS
Declare @MyId int
Insert Into TestTable...
January 15, 2004 at 4:19 pm
We had a similar performance problem caused by excessive locking. Our performance improved 4-fold when we added the with(nolock) optimizer hint to all of our select queries in our sp's.
This...
January 15, 2004 at 4:06 pm
Perhaps your permissions have changed somehow recently?
Make sure that the owner of the job has SA permissions.
January 15, 2004 at 3:57 pm
With SP3, they changed the level of permissions required to run xp_cmdshell.
Are you on the same machine as the SQL Server? If not, you need to install SP3 on your...
January 15, 2004 at 3:55 pm
When SQL Server creates a temp table, it determines what the field sizes and data types should be based on the results of the recordset, not on the fields that...
January 15, 2004 at 3:41 pm
Yeah using complex dynamic tables will do that to a query.
I think you would see a huge difference if you separated out the dynamic tables into separate queries that you...
January 15, 2004 at 3:29 pm
Have your sp check for that specific error using @@error and if that error occurs, have it return 0 (success).
January 14, 2004 at 5:30 pm
There are a lot of little differences between the SQL that Access uses and T-SQL. For example, T-SQL only has RTrim and LTrim, so you will get an error if...
January 14, 2004 at 2:50 pm
Viewing 15 posts - 1,216 through 1,230 (of 1,270 total)