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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Bernadette

    What is the Difference Between Logins And Users???

    Hi There A login allows a user to connect to the SQL Server it DOES NOT allow the users permissions to any of the databases. The logins is then mapped to a User. The user can then access the database you give them permissions to. If you want the user to do anything with the database you must...
  2. Bernadette

    I recieved the following message in

    Hi There There is an option in the database properties "Select Into/BulkCopy". If this is checked you can perform non-logged operations. Has someone ran a non-logged BCP (or similar) or SELECT INTO operation. Does someone turn this option on, do the operation and then turn it off ...
  3. Bernadette

    SQL Server 7 and SP4

    Hi There I have no problems with SP4 on any of our production servers. The only problem I ran into was installing Microsoft Content Management Server. I had to patch the SQL Server, patch it to SP3, Install CMS and then patch it to SP4 as Microsoft CMS did not recognise SQL versions above...
  4. Bernadette

    Anyone know where to download pubs.mdf?

    Hi Tom, There is a copy of the install script for the Pubs Database in your install folder on your server. <SQL Install Dir>\Install\instpubs.sql If you run this script in Query Analyser you will create a new pubs database however be sure to drop the existing one if it exists. DROP DATABASE...
  5. Bernadette

    Disabling Triggers through VB6 &amp; MS SQL 7

    HI Seosamh, You will have to use SQLDMO to do this. Try the following from the following url http://www.swynk.com/friends/warren/dmotrigger.asp .... Enable Trigger --------------- Dim oServer Dim oTable Dim oTrigger dim DBName 'change this to your database name DBName=&quot;PUBS&quot; Set...
  6. Bernadette

    SQL Mail Says OK but - No email received

    Hi There Outlook Express (OE5) installs a simple MAPI messaging subsystem and does not provide the mechanism for creating a mail profile, you cannot use it with SQL Mail as SQL Mail uses Extended MAPI. Check out the following url ...
  7. Bernadette

    Error when trying to access SQL database

    Hi There Check your MDAC version. Ver2.6 always tries to use NT Authentication. (hense SSPI errors) Try using another MDAC version. Version 2.7 has support for XP (I am nearly sure). I know that they fixed the problem in ver 2.6 sp1. Bernadette
  8. Bernadette

    Retrieve end of month date

    Hi There This will return the last day of the month for you. It uses GetDate() to get todays date to get the current month Declare @mydate datetime Set @mydate = '<insert your date here>' SELECT DATEADD(day, -1, DATEADD(month, 1, DATEADD(day, (1-DATEPART(day,@mydate)), @mydate)))...
  9. Bernadette

    executing a stored procedure

    Hi There Has the user who is running the stored procedure got access to the &quot;BB4INLINESAMPLES&quot; database and the &quot;dbo get_lotno&quot; stored procedure ? Bernadette
  10. Bernadette

    Data variation in Query vs SP

    Please post a copy of your code so we can have a look. Bernadette
  11. Bernadette

    Database FCB Error

    HI There It sounds as if one of your tables is corrupt. You may need to restore the database from a backup. Hope This Helps Bernadette
  12. Bernadette

    After upgrade to SQL 2000, Repository Engine Problem.

    Hi There Check that the version of the file REPODBC.DLL in C:\Program Files\Common Files\Microsoft\Shared\Repostry is version 2000.0.xxxx.0, This version is for SQL Server 2000 and Repository 3.0. If you have the wrong version you can copy the file from SQL Server 2000 Setup CD and...
  13. Bernadette

    SQL Server Agent Permissions

    Hi There You will need to use an actual Windows NT account for SQLServerAgent to use DTS. Chhange your SQLServerAgent acocunt to run under an NT Account with Local Admin and Domain User rights. The LocalSystem account has full privelegdes on the local machine, but, has no priveledges...
  14. Bernadette

    Daily, Weekly, Etc. Maintenance Procedures

    Hi There, The tables you are looking for are in the msdb database. They are ... msdb..sysdbmaintplans msdb..sysdbmaintplan_jobs msdb..sysdbmaintplans_databases msdb..sysdbmaintplans_history Hope this helps [3eyes] Bernadette
  15. Bernadette

    6.5 to 2000 Data Transfer

    Hi There The recommended and best thing to do when you are upgrading a database is to use the Database Upgrade wizard. This will transfer the whole database including the data. However if you really want to, you can use DTS to transfer the data from the SQL6.5 server to the SQL2000 server...
  16. Bernadette

    ** New Internet Worm In The Wild *** SQLSNAKE

    Thanks a million Terry Bernadette [thumbsup2] Bernadette
  17. Bernadette

    ** New Internet Worm In The Wild *** SQLSNAKE

    Check out the following article about the above worm. It attacks servers which have a blank 'sa' password by using the extended sp xp_cmdshell 'SQLsnake' Worm Blamed For Spike In Port 1433 Scans --------------------------------------------------- By Brian McWilliams, Newsbytes SAN MATEO...
  18. Bernadette

    Detect existing of file by passing the path of file, possible?

    Hi There The easiest way is to use the extended stored proc xp_fileexist to check for the file. Usage: exec master..xp_fileexist 'path of file to check' EG: exec master..xp_fileexist 'c:\autoexec.bat' Hope This Helps Bernadette
  19. Bernadette

    Linked Servers SQL2000 and SQL7.0 on different Domains ???

    Thank you very much for answering. I tried that but it didnt help. I still get the error. It works okay if the servers are on the same domains but the servers I want to use are not of the same domains. Do I have to wrap up the distributed transactions inside a stored proc ? Bernadette
  20. Bernadette

    DTS err - &quot;Invalid Pointer&quot;

    Hi There If you are running a stored proc, it may be returning a count and giving &quot;invalid pointer&quot; errors. Type Set NoCount ON at the start of your sp to turn the record count return off. Bernadette

Part and Inventory Search

Back
Top