Viewing 15 posts - 5,716 through 5,730 (of 7,505 total)
30K is not big these days ![]()
-If you can, post the view definition.
-Is the join being performed on indexed columns in both tables ?
-...
June 6, 2007 at 2:04 am
- Are there others trying to use the view or the underlying objects ?
- what's your isolation level (should be "read committed")
- Are there any exclusive locks on the underlying...
June 5, 2007 at 12:20 pm
Maybe this is simple enough ![]()
select
PRODUCTID, SUM(qtysold)
June 5, 2007 at 3:39 am
This linked server definitions is working !
EXEC sp_addlinkedserver 'RDBSvr',
'Oracle RDB Driver',
'MSDASQL',
'OracleRdbTest1' -- system dsn with all the nifty details
GO
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'RDBSvr',@useself=N'False',@locallogin=NULL,@rmtuser=N'myuser',@rmtpassword='mypwd'
GO
SELECT *
FROM OPENQUERY(RDBSvr, 'SELECT *...
June 5, 2007 at 3:28 am
You could off course create your own user defined function.
There are many examples at SSC.
June 4, 2007 at 11:58 pm
Since you're running an application overauthorized .... ![]()
![]()
If you make the application-service-user database owner, it will create objects...
June 4, 2007 at 11:48 pm
just to add...
also avoid using dynamic sql in your procs, because it may be executed in different context.
June 4, 2007 at 1:37 pm
No once you're on SQl 2005 you cannot go back to sql2000 unless you use DTS / SSIS to script and/or extract all data.
So even detatch / attatch wouldn't work.
June 4, 2007 at 1:33 pm
I'm pritty much out of options now ![]()
![]()
![]()
June 4, 2007 at 5:47 am
tried that resulting in :
One or more arguments were reported invalid by the provider.
Cannot obtain the schema rowset "DBSCHEMA_CATALOGS" for OLE DB provider "SQL Server" for linked server "(null)". The...
June 4, 2007 at 2:28 am
Is sa jobowner ? if not, make sa jobowner.
(in your first post, job was launched by sa)
Did you specify an "execute as " at jobstep level ? (let's hope not)
June 4, 2007 at 12:35 am
check out that the service account of your sql agent has the needed authority to read the folder where your file(s) reside.
June 3, 2007 at 2:06 pm
Never trust a default. It may change in time ..... ![]()
afaik .net framework uses repeatable read by default. or at least, that's what I seem...
June 3, 2007 at 1:57 pm
how about :
use tempdb
go
DBCC SHRINKFILE
('locigal_file_name' , EMPTYFILE 
;
go
alter database tempdb
REMOVE file 'locigal_file_name' ;
check bol at http://msdn2.microsoft.com/en-us/library/ms189493.aspx
June 1, 2007 at 12:21 pm
Viewing 15 posts - 5,716 through 5,730 (of 7,505 total)