Forum Replies Created

Viewing 15 posts - 916 through 930 (of 1,654 total)

  • RE: Avoiding Page Splits

    Rajan John (4/25/2008)


    Is there a way we can allocate space for a table beforehand with zero records in the table?

    Don't think so.

    And even if there's an option of doing...

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

  • RE: Cannot select single db for Log shipping

    Did you check if the database is in Full recovery mode?

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

  • RE: Install a second instance of SQL Server 2005 on an excisting Virtual Server.

    No, that's not possible. Each instance must have it's own Cluster group.

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

  • RE: querying a string

    The most simple option would be using LIKE

    SELECT myvarcharCol from mytable

    WHERE myvarcharCol LIKE '%project%'

    Another option would be using the PATINDEX function

    SELECT myvarcharCol from mytable

    WHERE PATINDEX('project',myvarcharCol) > 0

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

  • RE: Size of files within backup?

    The bak file only contains the data pages which are used. But when you restore it, the mdf and the ldf file are recreated with the size they had at...

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

  • RE: Using Like with formatting

    You can't use like but you can use the InSTR function instead. Just like Patindex in SQL it returns an integer if a string is found in another string.

    Something like...

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

  • RE: URgent help needed: change sql server collationproperty

    Carolyn is right. In otrder to change the server collation you need to re-run setup from the command line with the following options

    start setup.exe /qn INSTANCENAME=MSSQLSERVER REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=

    But...

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

  • RE: SQL Server 2005 sp2 database Mirroring problems

    Restoring the database on the mirror server with the norecovery option is right. Your error message points to a network connectivity issue. Of course lot's of possible reasons for this,...

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

  • RE: SQL Server 2005 sp2 database Mirroring problems

    What do you mean by "configure security"?

    Once you restored the backup to the mirror server with norecovery, you can start the mirror session from your principal.

    The only security...

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

  • RE: How to check the table columns thru T-sql command

    If you just want a list of column names you can use FMTONLY

    SET FMTONLY ON;

    GO

    SELECT *

    FROM MyTable

    go

    SET FMTONLY OFF;

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

  • RE: SQL Server Job Agent Job Category !!!

    You can create a trigger on the syscategories table in msdb, which logs all the changes.

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

  • RE: Restore

    Personally I'm not a friend of the various Kill process scripts you can find on the web.

    I prefer to set the database in single user mode before starting the...

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

  • RE: SQL Server 2005 cluster problem

    About the maintenance plans not running.

    First of all you should install SP2 because maintenance plans on the RTM version had quite a lot of bugs.

    Second maintenace plans make use of...

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

  • RE: Attached Database viewed in read only mode

    Check if you mdf file is read-only. If the primary data file being attached is read-only, the Database Engine assumes that the database is read-only.

    I'm also curious which OS...

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

  • RE: Formatting Reports - Every other row shaded?

    Sorry can't test your version now, but my original formular works on grouped data as well.

    All you have to do is in the layout window in VS apply the...

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

Viewing 15 posts - 916 through 930 (of 1,654 total)