Forum Replies Created

Viewing 15 posts - 3,031 through 3,045 (of 3,606 total)

  • RE: SQL server 2000 and Outlook security issues?

    The thing to remember with security is who and what are you protecting the server from.

    In our case SQLMail can only be used to send internal mail and can only...

  • RE: SQL Server 2000 Indexing

    I am still not 100% clear as to how to decide the FILL FACTOR.

    My understanding was that if you have a high input rate into a table then the indices...

  • RE: SQL server 2000 and Outlook security issues?

    Do you allow mail to go into your SQL Server or are you simply pushing messages outwards?

    Our network guy installed Outlook but configured the Exchange server so that only internal mail...

  • RE: SQL Server 2000 Indexing

    I work in a development environment where data is relatively small, even when we do data migration jobs.

    This gives me the luxury of running DBCC DBREINDEX as part of the...

  • RE: Hanging Stored Proc

    Check for locks.

    It may be that you stored procedure requires a lock on an item that is already locked.

  • RE: SOS! EXEC permissions lost on stored procedures while using snapshot replication

    I take it that your publication includes the stored procedures, not just the tables?

    The quickest way of reassigning pemissions is to assign permissions to a role then use TSQL Script...

  • RE: SQL query SIZE

    DECLARE @sSQLSELECT VARCHAR(8000)

    DECLARE @sSQLFROM VARCHAR(8000)

    DECLARE @sSQLWHERE VARCHAR(8000)

    SET @sSQLSELECT='SELECT .......'

    etc

     

    EXEC( @sSQLSELECT + @sSQLFROM + @sSQLWHERE)

  • RE: Weird error, probably easy

    Think of the BEGIN and END statements in TSQL as being like the curly braces in JavaScript, C#, C++, C, Java etc.

    BEGIN = {

    END = }

    As with these languages TSQL...

  • RE: Deleting 170 Million rows - Database Maintenance

    If possible I try and avoid SHRINKFILE in live systems because there is an overhead in growing the file as data is put back in.

     

  • RE: Equivalent of MS Access FIRST() function in SQL Server 2000

    There is no direct equivalent.

    You could try using the TOP predicate to return the TOP 1

  • RE: Transferring Logins

    The users within a database have a SID column which matches to the SID value of the login.

    If you transfer your logins first then restoring your database will maintain your...

  • RE: Lookup Table Madness

    Yep, no DRI.

    A few years back there was an discussion on this site about leaving out DRI in order to get the maximum throughput on the database. 

    The example given...

  • RE: Lookup Table Madness

    In the particular vendor database (I stress vendor) it held a list of countries.

    The problem you face with a database with thousands of tables are

    • Comming up with a meaningful, common-sense...
  • RE: Primary key Clustered or Clustered Index?

    Over and above the previous answer

    A Primary key cannot contain nulls.

    A unique index can contain a single null.

    A clustered index holds its data in the leaves of the index.  You...

  • RE: Transferring Logins

    A login within SQL Server has a unique identifier called a SID and an encrypted password.

    The way I do it is to use a SQL query to generate the sp_addlogin...

Viewing 15 posts - 3,031 through 3,045 (of 3,606 total)