Forum Replies Created

Viewing 15 posts - 1,996 through 2,010 (of 2,636 total)

  • RE: is database being used?

    Look up SQL Profiler in BOL.  It has instructions for creating a trace.

    Mubeen, your query only shows who is currently connected to a database. 

    Greg

  • RE: Transferring data

    Shyam,

    Try posting your question in the SQL Server 2005 Administering or General forums.  This one is for submitting suggestions for improving the SQL Server Central website.

    Greg

  • RE: Unable to Assign Deny Permissions to Users in Database

    No, I meant the System Administrators server role.  My thought was if someone is a member of sysadmin, he/she has permission to do anything in the instance regardless of permissions...

  • RE: Server role to read job

    Try adding users to the TargetServersRole role in msdb.  It's really meant for remote server administration, but it has the correct permissions for seeing jobs with being in Sysadmin.

    You may...

  • RE: Unable to Assign Deny Permissions to Users in Database

    What about server roles?  Is the login that the user is mapped to a member of sysadmins? 

    Greg

  • RE: Backing up the transaction logs - whats the need to do so?

    I think Paul's last point is the most important.  Your business's tolerance for data loss dictates whether point-in-time recovery, and therefore log backups, is required.

    If you make full backups with no...

  • RE: Schema comparison

    If you're talking about comparing schema between two databases, there are a bunch of 3rd party comparison tools available.  We just purchased ApexSQL's Diff tool for comparing database objects and...

  • RE: How to get Table row count?

    Ballack,

    You're talking about something that you can only get if you audit DML statements on a table or if you use a 3rd party transaction log reader, like Log Explorer. ...

  • RE: How to get Table row count?

    SELECT count(*) is the best way to get current row count in SQL 2000.  SQL 2005 has dynamic dictionary views like Oracle.

    Greg

  • RE: How to declare Composite Key in a table ?

    Naila,

    In Enterprise Manager, right-click on the table and select 'Design Table'. 

    Highlight the columns that you want in the primary key and click the 'set primary key' button.  Save the...

  • RE: Table Permission , how to view them

    Perhaps user 'XXX' is a member of the db_datawriter fixed database role?  If he is, you wouldn't see an object permission for the user because the permission is granted to...

  • RE: Job that run a SP

    I don't think the error has anything to do with running the package in a job.  Here's the problem:

    "Error string: Cannot insert the value NULL into column 'nomEmple', table...

  • RE: Backing up and restore individual tables

    DTS is a lot easier to use than BCP and you can transfer data in one shot instead of BCPing it out to a file then BCPing it in to the...

  • RE: Backing up and restore individual tables

    I read that Litespeed from Quest can restore individual objects.  Probably others can too.  You should use this site's search to find 3rd party backup tools. 

    Standard procedure with native...

  • RE: How to get the details about dts package objects using Query Analyzer?

    DTS packages are stored in binary in msdb tables so you can't search them with T-SQL.  What you can do is save the packages as files and search them.  There's...

Viewing 15 posts - 1,996 through 2,010 (of 2,636 total)