Forum Replies Created

Viewing 15 posts - 5,716 through 5,730 (of 9,244 total)

  • RE: Msg 468, Level 16, State 9, Procedure "procedurename", Line 129 Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.

    tt-615680 (4/12/2012)


    Thank you for your reply!

    This is part of the stored procedure:

    ........................

    ...................

    CREATE TABLE Data

    (

    Total_TY decimal(10,2), --this is where is gives the error

    Total_LY decimal(10,2),

    variance decimal(10,2)

    )

    INSERT INTO #Data

    SELECT

    CASE WHEN ISNULL(ISNULL(Total_TY,0)/ISNULL(Total_LY,1), 0)...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Question on bloated Transaction Log after doing index maintenance.

    Greg.Jackson (4/12/2012)


    I would appreciate some input on this one.

    I have an Enterprise Class database (SQL Server 2008 R2) that I perform Index Maintenance on nightly (non peak hours using...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Mirroring Error

    Glad you're sorted

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moved 25GB table to new filegroup on a different drive, but no space gain in original data file?

    can you post the table definition and the exact command you used to move the table?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Mirroring Error

    jitendra.padhiyar (4/11/2012)


    I did that... I restored backup with NORECOVERY option and than restore transaction log backup with NoRecovery option.

    I setup mirroring and can see "Principal, Synchronized" status of Primary...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: server name after migration

    sqlfriends (4/11/2012)


    Thank you, I don't see change DNS name in the steps.

    When you rename the Windows computer it should change this for you and update the account in AD.

    An...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Minimal permission to run a sql job in sql server 2005

    beejug1983 (4/11/2012)


    When I logged on with ABC and executed below script I could not find any result.

    SELECT * FROM fn_my_permissions('sp_start_job', 'domain\ABC')

    Even if I log on with other user who has...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: help on deadlock, been looking at this for a few days now

    sure, you just need to enable the database option

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: help on deadlock, been looking at this for a few days now

    anthony.green (4/11/2012)


    I was thinking of isolation levels at the connection level not at the database level.

    You have to enable them at the database level to use them in the query.

    For...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: I want to run a batch file from query window or from Trigger.

    forsqlserver (4/11/2012)


    Hi,

    Thanks,

    I am using XP_CMDSHELL.

    On running: Exec XP_CMDSHELL 'c:\te.bat';

    It continuosly goes to executing query state.

    So, am i correct in saying you can execute this from SSMS query window but...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: sql server

    asranantha (4/10/2012)


    if u know answers plz tell me

    All pirates should find their own treasure 😀

    or just maybe research a little more 😉

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: I want to run a batch file from query window or from Trigger.

    can you supply a little more info on exactly what you're doing and any errors you receive

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: help on deadlock, been looking at this for a few days now

    There are a couple of options READ_COMMITTED_SNAPSHOT and ALLOW_SNAPSHOT_ISOLATION. Both acquire no page or row locks when reading, check BOL for more info on these.

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: help on deadlock, been looking at this for a few days now

    the second script bombs as there is a table missing.

    Have you considered implementing a more suitable isolation level?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: To decide which is best solution for implementation of SQL sever and client for educational porpose

    seesachinjadhav

    build yourself a couple of virtual machines and get yourself going from there. See my guide starting at the following link[/url] for more help.

    If you wish you may...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

Viewing 15 posts - 5,716 through 5,730 (of 9,244 total)