Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by NilsBevaart

  1. NilsBevaart

    OPENROWSET problem connecting to Access database

    We get a relative blank error: Server: Msg 7415, Level 16, State 1, Line 1 Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been denied. You must access this provider through a linked server. This indicates a security issue to the database or filesystem, but I can connect to the...
  2. NilsBevaart

    OPENROWSET problem connecting to Access database

    Hi all, For a flexible import in our SQL database (SQL 2000 on a Windows 2003 server) we use OPENROWSET. In our development on a local instance of SQL Server, we have no problems with a connection to Accesss. However, when we deploy the same code with the same Access database to our test...
  3. NilsBevaart

    Slow performing insert with values

    If I simulate this with exec sp_recompile proc_AddPostBack go exec proc_AddPostBack .... it still executes in 0 seconds. If recompiling causes this error, I would expect this to take longer Nils Bevaart
  4. NilsBevaart

    Slow performing insert with values

    I have a table with very straight forward fields. To populate this table, I have the following stored procedure: ALTER PROCEDURE proc_AddPostBack @PostBackID UNIQUEIDENTIFIER, @UserID UNIQUEIDENTIFIER, @UserIP CHAR(15), @PBControlID VARCHAR(255), @BillingMetadataKey CHAR(32) = NULL...
  5. NilsBevaart

    Error setting up distriburor: '(null)' is not configured as a Distribu

    I'm not sure (I started the thread a few months ago) but I believe my @@servername gave a null value. Nils Bevaart
  6. NilsBevaart

    Check if a server is online before connecting to a linked server

    Well, the commandline works great. As predicted, it does not return the code back to the xp_cmdshell procedue. Bad luck. We looked at fail over clustering, but this would require an investment of about twice the amount of using dubble servers and having replication between them. The extermal...
  7. NilsBevaart

    multi word search using stored procedures

    Whenever you would find a ' in any fieldvalue, you want to add an extra quote before it. Otherwise you would end the text selection in you TSQL code. So you would get: SELECT * FROM dbo.split('why won''t this work',' ') Nils Bevaart
  8. NilsBevaart

    Can't delete duplicate row. Anyone know how?

    In future, to prevent duplicate rows, try adding an identity column to your tables. This way you can always specify a specific row for selection, updates or deletes Nils Bevaart
  9. NilsBevaart

    Check if a server is online before connecting to a linked server

    I think I can use the xp_cmdshell to start the scm utility. However, I'm having trouble with this tool. According to the help, I would use scm -Action 3 to get the current status. When I use this (directly on the commandline to test it) I keep on getting the help list with all available...
  10. NilsBevaart

    Check if a server is online before connecting to a linked server

    We are scaling out our large database over multiple servers. For this we are setting up distributed querys to access the data. The performance and scalability is great. Hovever, we want to keep our availability very high. If one of the servers would be offline, the query would return an error...
  11. NilsBevaart

    PerfMon counters: % above 100

    Hi all, I am running a performance monitor against our servers to get an overview of potential bottlenecks in performance. One of the counters I'm looking at is the physical disk. I am looking at % Disk Read Time, % Write Time and the queue lenght. What I find puzzeling is that the % Read time...
  12. NilsBevaart

    Replication error: 21040 Publication does not exist

    They are set up as a domain account with sufficient rights. It has worked in the past, but was disabled after a while. I am now reconfiguring replication on the same servers and cannnot get it working again. Nils Bevaart
  13. NilsBevaart

    Replication error: 21040 Publication does not exist

    I configured the distributer first. Everything is configured under an account with SA rights. I also have these rights... Nils Bevaart
  14. NilsBevaart

    Replication error: 21040 Publication does not exist

    Hi, I am starting with SQL Replication. I set up a distributer and a publisher on two different servers. I enabled a database on the publisher for replication. When I use the wizzard to make a new publication, I get the following error: Server Enterprise Manager could not create publication...
  15. NilsBevaart

    SQL Query Results Displayed

    If you use the SELECT TOP 100 * FROM xxx the query stops after the first 100 are found Nils Bevaart

Part and Inventory Search

Back
Top