Forum Replies Created

Viewing 15 posts - 7,066 through 7,080 (of 7,164 total)

  • RE: Error With Named Pipes using xp_cmdshell

    Executing as myself which has full dbo rights.

    Is your login in the sysadmin Server Role? Is it a domain login, a local Windows login or a SQL Login?

    DECLARE @bcpCommand VARCHAR(8000)

    SET...

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

  • RE: use a if/update with in the initial select statement

    SELECT ukey,

    intman,

    admtype,

    los,

    ...

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

  • RE: Error With Named Pipes using xp_cmdshell

    What are you executing in the call to xp_cmdshell...are you running something that connects back to the SQL Server, like bcp? If so, please provide the command line (with any...

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

  • RE: export with bcp and xp_cmdshell fails when network cable unplugged

    Tania-346155 (3/1/2011)


    i thought that bcp gets same account as xp_cmdshell ; )

    thank you orc !!

    Not always...it depends on who is executing it. Have a look at the "Remarks" section...

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

  • RE: Perceived bug in HierarchyId SQL Server 2008

    I see your concern now...and I was able to recreate the plan on my instance after looking at your plan using this code:

    DECLARE @0 BIT = 1,

    ...

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

  • RE: export with bcp and xp_cmdshell fails when network cable unplugged

    An alternative is to enable mixed mode authentication, setup a SQL Login that has permissions to run the query in your bcp command and change from using -T to supplying...

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

  • RE: splitting a column in to 3 columns

    gupta.sreekanth (2/28/2011)


    hi

    can any one help me in splitting like this in ssis

    bas-06-12586

    to

    bas

    06

    12586

    in different columns

    In SSIS you can use the Derived Column Data Flow Transformation in your...

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

  • RE: Perceived bug in HierarchyId SQL Server 2008

    Hmmm....when I run your sample DDL into my SQL 2008 R2 test DB and run your select query I see index seeks (see attached sqlplan):

    SELECT child.PATH

    FROM ...

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

  • RE: Hide Rows and columns

    Please post your DDL and DML.

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

  • RE: sql server 2008 sql

    For functions:

    SELECT *

    FROM sys.objects

    WHERE type IN (N'FN', N'IF', N'TF', N'FS', N'FT') ;

    /*

    From http://msdn.microsoft.com/en-us/library/ms177596.aspx:

    FNSQL_SCALAR_FUNCTION

    FSAssembly (CLR) scalar-function

    FTAssembly (CLR) table-valued function

    IFSQL_INLINE_TABLE_VALUED_FUNCTION

    TFSQL_TABLE_VALUED_FUNCTION

    */

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

  • RE: sql server 2008 sql

    USE some_database_name

    GO

    SELECT name,

    create_date,

    modify_date

    FROM sys.views

    SELECT name,

    ...

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

  • RE: SQL Server Auditing - Free Reports

    Using what? The new Audit objects?

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

  • RE: login to sql server when my old login route changed

    By default the local Windows security group "BUILTIN\Administrators" is part of the sysadmin Server Role. Check if your login is part of the local "Administrators" group. If it is not...

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

  • RE: MAX of Converted Date function

    Please post the DDL for your table and the DML for your data.

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

  • RE: Normalization Question

    You were asking about different approaches...a denormalized table approach is what you described in the hypothetical table in your original post. Implementing a star schema is an alternative to that....

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

Viewing 15 posts - 7,066 through 7,080 (of 7,164 total)