Forum Replies Created

Viewing 15 posts - 121 through 135 (of 1,654 total)

  • RE: Update statement for when a specific field changes

    Dev (12/5/2011)


    Please add following...

    AND INSERTED.costprice != UPDATED. costprice

    Since there is no table "updated" I assume you meant to use the following:

    AND INSERTED.costprice != deleted.costprice

    But a much better...

    [font="Verdana"]Markus Bohse[/font]

  • RE: load sql server 2008 db to 2005

    No you cannot restore/copy a SQL 2008 database on a 2005 system, no matter what you're compatibility level is. The reason is that the file structure is different.

    The only way...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Problem with ServiceBroker Queue

    Someone else already pointed you to Rusano's blog, but I want to point you specifically to this one:

    http://rusanu.com/2010/03/09/dealing-with-large-queues/

    It describes just the kind of issue you're having.

    [font="Verdana"]Markus Bohse[/font]

  • RE: SQL Server Reporting Services 2008 R2 Toolbox Item

    Since I've never done a in-place upgrade of SSRS I can't say for sure if everything will keep working.

    But here you should find all the information you need:

    http://technet.microsoft.com/en-us/library/ms143747.aspx

    [font="Verdana"]Markus Bohse[/font]

  • RE: SQL Server Reporting Services 2008 R2 Toolbox Item

    Ryan,

    in order for you to be able to use the new features on your production server you need to upgrade the server to R2.

    Also in case you create a...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Error No - Msg 15530 when change to dbo schema

    I have upgrade to SQL 2008 from SQL 2000, privisouly there are some tables are created with schema name(hjbhatt). after upgradation I changed all the table names with default schema...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Error No - Msg 15530 when change to dbo schema

    ananda.murugesan (11/22/2011)


    due to this error Table & SP does not allowed with same name dbo.upload_sales.

    Does this mean you have a table and a stored procedure with the same name?

    Why...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Error No - Msg 15530 when change to dbo schema

    ananda.murugesan (11/22/2011)


    I have execute this command but same issues..

    ALTER SCHEMA dbo TRANSFER hjbhatt.upload_sales

    Msg 15530, Level 16, State 1, Line 1

    The object with name "upload_sales" already exists.

    select * from dbo.upload_sales

    Msg 208,...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Append vs Overwrite for large long running Backup?

    Performancewise I don't think there is any difference between append or overwrite. But if you want to automate your restore procedure I would advise to create a separate file for...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Error No - Msg 15530 when change to dbo schema

    If you want to move an object to a different schema use this:

    ALTER SCHEMA new_schema TRANSFER old_schema.object_name

    [font="Verdana"]Markus Bohse[/font]

  • RE: Dynamic management views

    In your code you GRANT VIEW SERVER STATE to Report but not to DMView. The procedure works on my system if you grant VIEW SERVER STATE to DMView.

    [font="Verdana"]Markus Bohse[/font]

  • RE: color formatting in report row level

    I'm not sure if I understand your requirement correctly but something like this should work:

    Select the font color for your textbox and enter an expression similar to this:

    =IIF(Fields!Mod.Value<80,"Black","Red")

    [font="Verdana"]Markus Bohse[/font]

  • RE: deadlock issue

    First you need to identify which two processes cause the deadlock. You can use profiler to trace the deadlock graph.

    It's difficult to say how to solve this issue without knowing...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Schema does not exist or you do not have permissions

    Also check what is the default schema for the user and if it exists.

    [font="Verdana"]Markus Bohse[/font]

  • RE: Sp failed

    GilaMonster (11/17/2011)


    The error's pretty clear. You're trying to throw error 50001, but no such error message exists.

    You either need to add that message to sys.messages, then you can call Raiserror...

    [font="Verdana"]Markus Bohse[/font]

Viewing 15 posts - 121 through 135 (of 1,654 total)