Forum Replies Created

Viewing 15 posts - 106 through 120 (of 176 total)

  • RE: User Permission to view Only View not base tables

    Perry Whittle - Thursday, January 12, 2017 6:06 AM

    Rechana Rajan - Thursday, January 12, 2017 5:25 AM

  • RE: User Permission to view Only View not base tables

    Thanks  John and Perry,

    Sorry for the confusion.

    CREATE VIEW [dbo].[View_1]
    AS
    SELECT RRN.ASettings.oid AS Expr1, RRN.BTType.oid, RRN.CSHistory.sId, dbo.CB.MainProfileID, RRN.Void.VoidID
    FROM     RRN.ASettings INNER JOIN
                      RRN.BTType ON RRN.ASettings.oid...

  • RE: User Permission to view Only View not base tables

    John Mitchell-245523 - Thursday, January 12, 2017 3:26 AM

    Rechana Rajan - Wednesday, January 11, 2017 11:28 PM

  • RE: included Column & Clustering Key

    GilaMonster (1/11/2017)


    Rechana Rajan (1/11/2017)


    If that is the case the lookup for noncluster index will change to new cluster key right?

    ???

    Also if i explicitly specify the cluster key in a nonclustered...

  • RE: included Column & Clustering Key

    GilaMonster (1/10/2017)


    Rechana Rajan (1/10/2017)


    My doubt is when we create a Non clustered index the clustering key is already a part of it and then why adding PK column as included...

  • RE: Index Foreign Key & Other Indexes

    GilaMonster (1/3/2017)


    Index on foreign keys is a good place to start, but it may not be the best index to have. It's only really needed if rows in the parent...

  • RE: Index Foreign Key & Other Indexes

    JasonClark (1/2/2017)


    Yes, it's good practice to maintain indexing. As.

    Performance becomes great on maintaining the relationship on a delete of a primary/unique key.

    also, SQL Server can effectively find the rows to...

  • RE: Table copy

    Why cant you create a new table and insert into that all records and delete the unwanted data from original table ? This will make sure the table...

  • RE: ANSI_PADDING

    Igor Micev (12/7/2016)


    Rechana Rajan (12/7/2016)


    When i script out tables from my local some have ANSI_PADDING ON and some dont have that mentioned before the create table state. Can anyone help...

  • RE: ANSI_PADDING

    Igor Micev (12/7/2016)


    Rechana Rajan (12/7/2016)


    When i script out tables from my local some have ANSI_PADDING ON and some dont have that mentioned before the create table state. Can anyone help...

  • RE: SchemaName.ObjectName

    Lowell (12/6/2016)


    yes it could potentially cause problems. best practice would be to go ahead and schema-qualify all the scripts provided to avoid any issues.

    The scenario i would worry about is...

  • RE: DBCC TRACEON & Startup Parameter

    Chris Harshman (11/22/2016)


    DBCC TRACEON would need to be manually re-run after a server restart. If you use the startup parameters of the service then it will automatically have that...

  • RE: Trigger to restrict user froom Deleting Procedures

    Chris Harshman (11/22/2016)


    If you grant the user privileges at the schema level instead of the database level, then they could create and alter procedures at will, but not be allowed...

  • RE: Trigger to restrict user froom Deleting Procedures

    GilaMonster (11/21/2016)


    You can create a DDL trigger to roll back the DROP PROCEDURE, but if the user has CREATE & DROP permissions on the database, they'll be able to drop...

  • RE: Access is denied

    From what you have written I guess you job is trying to access backup file to restore it to another database.

    Can you check whether the jobs are failing when restore...

Viewing 15 posts - 106 through 120 (of 176 total)