Forum Replies Created

Viewing 15 posts - 421 through 435 (of 1,654 total)

  • RE: Insert using a join

    As Chris already wrote it would help a lot if you posted the schema.

    But one thing I noticed is you write, you want to update records, but you execute...

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

  • RE: Merger Replication in SQL 2000

    yellow (4/1/2009)


    How to make the publisher and subscriber resynchronized?

    Thank you again.

    - Yelu Zhou

    It depends a bit on the size and number of your tables which are out of...

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

  • RE: Merger Replication in SQL 2000

    yellow (3/31/2009)


    I have manually start snapshot agent, and then merger agent. Well, the row numbers are not change at all. It seems the replicating does not working, but no...

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

  • RE: Can't see DBs content after server reboot

    Sounds like the dependencies between the cluster resources is not configured correctly.

    In the Windows Cluster Admin tool make sure that the SQL Server service depends on both disks. This...

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

  • RE: Removing Characters

    Assuming there's only one occurance of a white space you can use something like this:

    SELECT LEFT(Part_ID, CHARINDEX(CHAR(32), Part_ID))

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

  • RE: database mirroring and failover clustering

    Yes of course.

    DB Mirroring is something completly different to clustering and while it's possible to combine them, there's no dependcy between them.

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

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

  • RE: Where is the 'Show Results Pane' button?

    You can add this button (or any other button) by going Tools>Customize. Go to the commands tab, in the categories llst select Window and there you can find the button....

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

  • RE: Removing SysAdmin role for login

    Simply use sp_dropsrvrolemember to remove any login from a serverrole like sysadmin.

    EXEC sp_dropsrvrolemember 'yourLogin', 'sysadmin'

    With sp_update_Job you can change the owner of a job.

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

  • RE: xp_delete_file Invalid Parameter

    Graham.Okely (3/23/2009)


    Does anyone know where xp_delete_file is documented?

    There is no official doumentation from MS.

    See here http://sqlblog.com/blogs/andy_leonard/archive/2009/03/11/xp-delete-file.aspx for some unofficial info.

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

  • RE: Replacement for xp_sqlmaint

    xp_sqlmaint was used by the SQL 2000 maintenance plans.

    In 2005 maintenance plans are created as SSIS packages. So instead of using the EXEC T-SQL task use an Integration services...

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

  • RE: How to find how many updates done in a table ?

    If you have not auditing triggers or tracefiles, the only option to get all the detailed info would be using some third-party tools to read out your transaction log files...

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

  • RE: INSERT INTO/SELECT INTO, but Not Into a New Table

    You can use SELECT in combination with an INSERT only you don't use the VALUES part.

    This should work for you:

    INSERT INTO [dbo].[b1] ([b1],[b12])

    SELECT b2.b1ref, b2.b22

    FROM dbo.b2 WHERE dbo.b2.b1ref...

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

  • RE: Data Conversion 20090308 to 2009-03-08

    This one is not pretty and there might be some other option is SSIS, but when converting the run_date from SQL server jobs in the msdb..sysjobhistory table, this is...

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

  • RE: Using Profiler in SQL2K

    In SQL2005 or later sysadmins and anyone whith ALTER TRACE permission can use profiler.

    In SQL2000 or earlier only sysadmins can run a trace in profiler.

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

  • RE: how can we create Index on view?

    Keep in mind that Indexed views are only supported in the Enterprise Edition of SQL 2000

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

Viewing 15 posts - 421 through 435 (of 1,654 total)