Forum Replies Created

Viewing 15 posts - 6,346 through 6,360 (of 6,678 total)

  • RE: SCHEMA Permissions

    ganeshmuthuvelu (7/16/2008)


    Hello,

    I have a Schema by name "Common" in which I want a set of users "user1, user2, user3" to have full control on it. That means they can create,...

  • RE: How to create a server level role in 2005

    DKG (7/16/2008)


    Is ther any way i can add all the stored procedure of database into the ROLE - in one go?

    The following command grants access to ALL stored procedures in...

  • RE: How to create a server level role in 2005

    To create a role:

    Use database;

    Create Role rolename Authorization owner;

    Grant execute rights to the stored procedures:

    Grant Execute On Schema::schema To rolename;

    If all of your stored procedures are in the dbo schema,...

  • RE: get the first and last day two months ago

    Here are a few examples:

    SELECT dateadd(month, datediff(month, 0, getdate()), 0)

    ,dateadd(month, datediff(month, -1, getdate()), -1)

    ,dateadd(month, datediff(month, 0, getdate()) - 1, 0)

    ,dateadd(month, datediff(month, -1, getdate()) - 1, -1)

    ,dateadd(month, datediff(month, 0,...

  • RE: Trace

    Try: Select * From ::fn_trace_getinfo(default);

  • RE: Moved DB, now Users can't login to my web app.

    Try the following from the new database.

    Execute sp_change_users_login 'Report';

    If this returns any data, fix the user accounts that are reported.

  • RE: Maintenance Plans and DR

    Brian Brown (7/16/2008)


    1) We do not have SSIS installed, therefore we cannot export a package.

    You don't need SSIS installed, but you do need the client tools. If you have...

  • RE: Cannot disable NTgroup users using Alter Logins script

    balbirsinghsodhi (7/16/2008)


    Sorry about that.

    Thank you Jeffrey.

    No problem 🙂

  • RE: Stored Procedure to update records in a table

    Peter Lavelle (7/15/2008)


    Jeffrey,

    Thanks for your point about ;

    Yes you are right of course.

    I am using SQL 2005 and could not get WITH to work until I realised it needed...

  • RE: Stored Procedure to update records in a table

    Harsha Shettigar (7/15/2008)I'm using Informix database. My understanding is that SQLs wouldn't vary greatly??

    Well, sort of. Each vendor implements the ANSI standards to a particular level - and each...

  • RE: Stored Procedure to update records in a table

    If I had to guess, I would guess MySQL. The syntax may be similar - but, not knowing MySQL I would not bet on what works for T-SQL (Microsoft...

  • RE: Maintenance Plans and DR

    Two options that I know of:

    1) Export the maintenance plan to a file, create a new SSIS project in BIDS - add the maintenance plan to the project, modify...

  • RE: Cannot disable NTgroup users using Alter Logins script

    balbirsinghsodhi (7/15/2008)


    Steve.. Thanks a lot.

    I like your idea of denying connection to sql server. Here is the TSQL I am going to use. I will deny connection for all the...

  • RE: Cannot disable NTgroup users using Alter Logins script

    From BOL under the ALTER LOGIN help:

    You cannot use ALTER_LOGIN with the DISABLE argument to deny access to a Windows group. For example, ALTER_LOGIN [domain\group] DISABLE will return the following...

  • RE: DBCC Reindex then ??

    SQL King (7/15/2008)


    Well, this question regarding Reindex has struck something important for to reconsider about my databases. I am taking a fullbackup no matter what. I do have full recovery...

Viewing 15 posts - 6,346 through 6,360 (of 6,678 total)