Forum Replies Created

Viewing 15 posts - 841 through 855 (of 1,654 total)

  • RE: Installing Buisness Intelligence Development studio.

    In order to add components to an exisiting installation go open add/remove software in control panel. When select SQL Server 2005 and the installion wizard will start. It will ask...

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

  • RE: Problem in differential backup.

    It would help a lot if you would post the exact error you got before.

    Without that it we are guessing.

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

  • RE: Query a List of user databases

    [font="Courier New"]select ... from sys.databases where owner_sid != 1[/font]

    Antonio,

    while I agree it's not 100% safe to rely on db_id, the problem with you're attempt is that it will only...

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

  • RE: Query a List of user databases

    Not sure what exactly you want but I usually use WHERE database_id > 4.

    If you want to execute a query on all user databases you can use this:

    EXEC master..sp_MSForeachdb 'USE...

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

  • RE: Unable to view SQL Report with normal login but able with admin Login

    is there any solution...

    There are several solutions, but I think the main question is how do you authenticate in your datasource? Do you use Windows authentification, then your users...

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

  • RE: Database Mail

    Did you read about sp_send_dbmail in BOL?

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

  • RE: Adjust SQL Server for Long TCP Latencies

    You can adjust the merge agent profile for slow connections. For example selecting a smaller batch size or higher timeout values. If I remember right there's also a build in...

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

  • RE: Does database Snapshot applied to subscriber during replication read only ?

    No, a replication snapshot is totally different from a database snapshot. Basically what applying the snapshot means is that all objects which are part of your publication are (re)created in...

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

  • RE: Clear recently-used report list in SSMS

    The list of reports is stored in a XML file which you can find under

    C:\Documents and Settings\UserName\Application Data\Microsoft\Microsoft SQL Server\90\Tools\Shell\Reports.xml

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

  • RE: Session ID

    These are orphaned sessions and you should kill them. Unfortunately you can't kill them the easy way by running Kill -2 ,but you need to find the Unit of Work...

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

  • RE: Upgrade MS SQL 2000 cluster to SQL 2005

    You can upgrade you're existing cluster as long as you use Enterprise edition of SQL2005. Microsoft has a very detailed whitepaper about upgrading in all kind of scenarios. Check it...

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

  • RE: Delete the backup files older than X days .

    In SQL 2000 maintenance plans the backup is taken first and then the old files are dteleted. You cannot change this behaviour within SQL 2000 maintenance plan, you need to...

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

  • RE: Delete the backup files older than X days .

    In a SQL 2005 maintenance plan you can define the removal of old backups as a separate task. If you want to remove your old backup files before creating a...

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

  • RE: Importing CSV file into sql table

    If it's in a stored procedure you could use the EXECUTE AS option to run the procedure in the security context of anther login. I'm not sure it will work...

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

  • RE: Return largest value of two columns in the same row

    You have to use CASE to achieve this.

    Something like this

    create table t1(c1 int Identity(1,1),

    c2 datetime,

    c3 datetime)

    go

    Insert into t1(c2,c3)

    Select Getdate()-3, Getdate()-5

    Union all

    Select Getdate()-3, Getdate()-2

    go

    select c1,

    Case

    When c2 > c3 THEN...

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

Viewing 15 posts - 841 through 855 (of 1,654 total)