Forum Replies Created

Viewing 15 posts - 2,116 through 2,130 (of 7,164 total)

  • RE: Granting sysadmin rights to local admin to a db

    There is no such thing as "sysadmin rights to only one database" but I think I know what you mean. sysadmin is a Fixed Server Role and being a member...

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

  • RE: TYPE TABLES in SQL Server

    Table Types are very similar to Table Variable in many ways. Their main use is as a parameter to a Stored Procedure, known as "Table-valued Parameters."

    Use Table-Valued Parameters (Database Engine)...

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

  • RE: Dialogue box from SSIS's script task throw error when called through SSMS Job

    When SSIS is kicked off from a server, like when running an Agent Job via SSMS, the package is actually running on the server not on the user's machine. What...

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

  • RE: Optimize ad hoc workloads

    SQLRNNR (2/5/2013)


    sqlfriends (2/5/2013)


    Thanks ALL.

    I read a tutorial and recommend this option should be enabled for all instances. Read and still a little confusing about when I should enable or disable...

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

  • RE: Kerberos Not Set Up

    Please do not cross-post. It just fragments replies and wastes people's time. Direct replies here:

    http://www.sqlservercentral.com/Forums/Topic1415972-359-1.aspx

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

  • RE: Dialogue box from SSIS's script task throw error when called through SSMS Job

    Who do you suppose might interact with a Message Box when it is presented during an unattended execution of an SSIS package :unsure:

    Your best bet is not to use message...

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

  • RE: Kerberos Not Set Up On Server

    FREDERICK (2/5/2013)


    Hello

    Another party set up the Server and Databases.

    First the Server was set up

    Windows Server 2008 SP1

    Then the Databases were set up

    SQL Server...

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

  • RE: Loading All Trace files

    Another option is to have the job that starts the trace add an entry into a control table after the trace is started so you can later use that to...

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

  • RE: Loading All Trace files

    In that case if you want to do everything in T-SQL then you will need to gain directory access. Some options are xp_cmdshell or a CLR object, there are others....

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

  • RE: BCP Error

    David is right about the format-file not matching the file's format.

    For starters you'll have to change all instances of this in your format file:

    <FIELD ID="1" xsi:type="CharTerm" TERMINATOR="\t" MAX_LENGTH="255" COLLATION="SQL_Latin1_General_CP1_CI_AS"/>

    to this:

    <FIELD...

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

  • RE: Loading All Trace files

    Borrowed from here and tweaked slightly:

    DECLARE @trace_id INT = 1,

    @path NVARCHAR(260);

    SELECT @path = REVERSE(SUBSTRING(REVERSE([path]), CHARINDEX('\', REVERSE([path])), 260)) + N'log.trc'

    FROM sys.traces

    -- set this...

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

  • RE: job token

    To test the A- tokens, in a test environment of course:

    - Setup a job that has the PRINT statement from Example A from the article I posted earlier.

    PRINT N'Current database...

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

  • RE: BCP Error

    CREATE TABLE statement for the target table?

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

  • RE: Converting Mstrix into table

    OK, good. You posted in an SSIS forum but that's fine, now we know what you need.

    I am happy to help but it's a little hard to determine from...

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

  • RE: job token

    If you could clarify your original post about what you are trying to do...

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

Viewing 15 posts - 2,116 through 2,130 (of 7,164 total)