Forum Replies Created

Viewing 15 posts - 91 through 105 (of 631 total)

  • RE: Help for SQL begginer

    james.h291183 (1/6/2017)


    Ah sorry I wasn't clear, I have the local version of SQL Server 2016, it's just that the Azure DB I was connected to has now run out (free...

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Help for SQL begginer

    SQL Server Developer Edition is now free. You can download that locally.

    http://www.microsoft.com/en-us/sql-server/sql-server-editions-developers

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: AlwaysOn AG failover works if on same VLAN, fails from Other VLANs

    Michael Gerholdt (12/20/2016)


    Initially, AlwaysOn Availability group works from everywhere with clients of various sorts aimed at listener.

    Do a manual failover, and now only clients on the same VLAN as the...

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Fiscal Quarter

    Personally, I would always use a date dim for this type of thing. There are many scripts out there which should do most of the donkey work for you.

    Firstly,...

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Instance Stacking vs. VM Stacking

    Would you not be licensing cores, rather than VM's?

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Deny DML on a table

    Thom A (12/6/2016)


    krishnaroopa (12/6/2016)


    The user has membership in db_datareader, db_datawriter and db_owner roles

    There's your problem.

    db_owner's can do what every they want, whenever they want, in that database.

    Slight but IMHO important...

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: AlwaysOn Availability Group Query database count

    Something like this?

    select

    ag.Name, AGReplica.replica_server_name, ag.Group_Id, agl.dns_name as 'ListenerName', COUNT(db.database_id) 'DatabaseCount'

    from

    master.sys.availability_groups ag

    left join

    master.sys.availability_group_listeners agl

    on ag.group_id = agl.group_id

    left outer join

    sys.dm_hadr_database_replica_states db

    on db.group_id =...

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: What is Normal?

    Sergiy (11/28/2016)

    4. Vehicle registrations are not unique for a car.

    You may change your car registration any day, by purchasing a personalised plate.

    Not to mention - in many countries registration plates...

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Wow. Just Wow

    Beatrix Kiddo (11/21/2016)


    In the UK there has been quite a lot of resistance to implementing a centralised repository of all health records, and this kind of thing is exactly why....

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (11/17/2016)


    Grant Fritchey (11/16/2016)


    Announcements include:

    SP1 for 2016 (which also has CREATE OR ALTER).

    A single development surface. This means all functionality in Enterprise is also in Standard and Web (WHOOOP!).

    vNext...

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Index defragmentation

    Rather than roll your own, I would use one of these

    https://ola.hallengren.com/

    http://sqlfool.com/2010/04/index-defrag-script-v4-0/

    both are great, take your pick according to your needs

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Table Size Growing Over Time

    I'm afraid, as ever, it depends.

    If this is a staging table where you will be running a lot of transformations on the data, then the addition of an appropriate clustered...

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Table Size Growing Over Time

    Using TRUNCATE rather than DELETE will reset the identity

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Table Size Growing Over Time

    When you delete rows in a heap, it can't reallocate the space it had been using.

    One of the myriad ways heaps suck.

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • RE: Table Size Growing Over Time

    Is the table a heap?

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

Viewing 15 posts - 91 through 105 (of 631 total)