Forum Replies Created

Viewing 15 posts - 1,201 through 1,215 (of 7,164 total)

  • RE: Result of dynamic sql with parameteres into a variable

    tony28 (4/28/2013)


    opc.three (4/27/2013)


    tony28 (4/26/2013)


    I used OPTION(RECOMPILE) and it is ok, but without is wrong,,,---- and in milisecond is little worst, but better than before.

    It has to do with how a...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: dbo user in the database has a domain login account

    Ok, that confirms that the person owns the database. Chances are they created the database initially since SQL Server will make the database creator the database owner and many people...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Result of dynamic sql with parameteres into a variable

    tony28 (4/26/2013)


    I used OPTION(RECOMPILE) and it is ok, but without is wrong,,,---- and in milisecond is little worst, but better than before.

    It has to do with how a plan is...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Cannot shrink log

    Sergiy (4/27/2013)


    opc.three (4/26/2013)


    For a database that does not need point in time recovery,

    Which means - can afford to lose data.

    Which is not the case by default.

    Agreed. If you reread...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Why powershell?

    I could not care less what Sergiy says about anything and do not need a translator of his thoughts. I actually think its odd that you continue to do that....

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Cannot shrink log

    For a database that does not need point in time recovery, yes, I would recommend changing to Simple recovery mode.

    Try to keep it professional Sergiy.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Result of dynamic sql with parameteres into a variable

    You forgot to supply a WHERE clause in the query that uses the VIEW. You need a predicate that folters on the column where your check constraint is:

    SELECT * FROM...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Cannot shrink log

    Sergiy (4/25/2013)


    FULL backup takes care only about data pages from data files.

    It does not touch TRN log file at all.

    That's not entirely accurate. You are right in that when in...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Extract data into specific csv columns?

    Tony414 (4/23/2013)


    Hello,

    First off I am new to this forum and don't know much about sql. I guess that's why I am here 🙂 I hope I am in the right...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Unable to change to SA as database owner

    Best I can tell from some basic testing on this side, changing the database owner does not require exclusive access to the database.

    When you run the command, look at the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Suppressing output from a stored procedure.

    A proper solution would be to get rid of the use of xp_cmdshell all together.

    The recommended way using either a SQL Agent job or a web service that invokes...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Lock Pages in Memory settings

    ankur_libra (4/26/2013)


    Hi All,

    As per below link article:-

    http://support.microsoft.com/kb/970070

    Support for Locked Pages on SQL Server 2005 Standard Edition 64-bit systems was made available from

    "Cumulative update package 4 for SQL Server 2005 Service...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: dbo user in the database has a domain login account

    It might be the UI design causing confusion, or being plain wrong.

    What does this say?

    USE YourDatabaseName;

    GO

    SELECT sp.name

    FROM sys.database_principals dp

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Why powershell?

    Sergiy (4/26/2013)


    opc.three (4/26/2013)


    PowerShell has security scaffolding in place

    You might be surprised - but SQL Server has it too.

    And cowboy developers may (most certainly will) ignore that scaffolding in PowerShell as...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Why powershell?

    Sergiy (4/26/2013)


    opc.three (4/26/2013)


    A stand-alone PowerShell prompt on Homer's machine does not offer much over a stand-alone CmdShell prompt on Homer's machine in the way of added security, only in functionality....

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 1,201 through 1,215 (of 7,164 total)