Forum Replies Created

Viewing 15 posts - 1,591 through 1,605 (of 1,993 total)

  • RE: Problems dropping a table in Query Analyzer

    this kind of naming can cause real problems - never include a decimal point or space in your database name

    MVDBA

  • RE: SQL SYNTAX PROBLEM

    i'd advise changing to the following

    select a.Emp_no,a.Emp_Name,a.Faulty_ItemSLNO,

    b.Item_Name as Faulty_Item, a.Date_OfRep, a.Replacement_ItemSLNO,

    c.Item_Name as Replacement_ItemName,a.Date_OfAlloc

    from Item_Allocation a

    left join Item_Master_Table b on a.Faulty_ItemSLNO=b.Item_SlNo

    left join...

    MVDBA

  • RE: Err while connecting to server through client

    is sql2005 set to "allow remote logins" in the footprint configuration tool

    MVDBA

  • RE: Designing a View, Can this be tuned ??

    can you post a create table statement for one of these medicservicefeed tables?

    you can also use union hints

    select x,y,z from a union all

    select x,y,z from b

    option(CONCAT UNION)

    which will "attempt"...

    MVDBA

  • RE: How do I get SQL Server version (numbers only)

    select @@version

    SELECT SUBSTRING(@@VERSION,21,CHARINDEX('(',@@VERSION,1)-21)

    should give you just the version number major and minor part without text

    MVDBA

  • RE: differential backups larger than full backup

    as long as your full backup is INIT and your differentials are NOINIT you're on course for having the right backups

    (assuming they both go to the same file)

    then we would...

    MVDBA

  • RE: JOBS

    you could create 2 steps for each "logical step"

    on success of step1 call step2a

    on failure of step1 call setp2b

    setp 2a just does sql code

    step 2b does an xp_sendmail (or whatever...

    MVDBA

  • RE: differential backups larger than full backup

    NOINIT will be causing your backups to append - that's why the backup is growing - it should be 1.5GB accordig to your figures

    MVDBA

  • RE: SQL Server 2000 POST SP-4

    ok - so we bit the bullet and applied it to the cluster at 6am this morning. It is cluster aware (apparently the patch was withdrawn in march because the...

    MVDBA

  • RE: SQL Server 2000 POST SP-4

    does anyone know if this hotfix rollup is cluster aware?

    MVDBA

  • RE: Database owners

    in query analyser run the following

    use master

    go

    exec sp_helpdb

    the 3rd column shows database owner

    MVDBA

  • RE: 640

    last year it was 400 servers with somewhere in the region of 5000 databases (2 dba's), but after consolidation this year 100 servers with a total of maybe 70tb of...

    MVDBA

  • RE: Changing a datatype for a column

    use in query analayser the alter table statement

    for example

    alter table mytable alter column mycolumn varchar(100) NOT NULL

    Enterprise mangler does some odd things when changing tables due to backwards compatability...

    MVDBA

  • RE: Using top 5 max (as it were!)

    select * from mytable where myid in (select top 5 myid from mytable order by mydatefield desc)

    MVDBA

  • RE: SQL Server 2005 Replication - Distributor

    are you running sql server accounts under localsystem or a domain account - lock pages in memory is usually defined under the security policy (i think) for your user account

    MVDBA

Viewing 15 posts - 1,591 through 1,605 (of 1,993 total)