Forum Replies Created

Viewing 15 posts - 166 through 180 (of 337 total)

  • RE: Index size greater than actual data

    GilaMonster (1/2/2012)


    Forwarding pointers are only found in heaps (so there can't be any in the NC index) and they seldom make the table much larger than it would be without.

    Also...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Index size greater than actual data

    After running updatusage I get the following

    DBCC UPDATEUSAGE: counts updated for table 'Tbl_FaoTrades' (index 'IDX_TD_LOGINID_TD_DATE', partition 1):

    USED pages (In-row Data): changed from...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: sqlcmd app to connect to sqlserver

    Asked here also

    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=169550

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Create new folder and copy file using xp_cmdshell

    Perry Whittle (12/22/2011)


    opc.three (12/22/2011)


    Sure...but how would you copy the file (without xp_cmdshell)?

    Via a VB script ran as a SQL agent job step!

    Not sure..But cant we just take SQL totally out...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Create new folder and copy file using xp_cmdshell

    Cant you just write a 4 line code VBscript in a batch file to create a folder and schedule it using windows scheduler ?

    Something like this

    Dim folder

    folder= "Yourpath"

    set objFSO...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Bug in SSMS 2008 R2 SP1

    Yes it is a know bug.

    What you can do is open a new instance of SSMS in a new window and the edit the same job and it will work...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Select permission on view that reads from table in another database

    Maybe you can go for a certificate based authentication where you create users from a certificate in database A and then create a SP in database B which executes a...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Autoshrink in our client's databases

    I wouldnt worry about fragementation for indexes having less than 1000 pages.

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: sql 2008 permissiong issues

    sqlnaive (10/17/2011)


    Execute permissions denied. I am checking again with giving view definition permission on the database.

    Run this and try

    Grant Execute to Win_Read

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Clone a DB and update weekly for read only use

    Ok maybe snapshots were not such a good idea.

    How about setting up LogShipping (if latency is accepatable) or snapshot replication ?

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: sql 2008 permissiong issues

    sqlnaive (10/14/2011)


    i have set up new sql 2008 database server. I have created windows group Win_Read and provided it db_datareader and VIEW DEFINITION ON DATABASE DB_Test. Still the users inside...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Clone a DB and update weekly for read only use

    gary.dunn (10/13/2011)


    Hello, we have a production SQL Server 2008 R2 STD database stored at a remote site. The users would like a copy of this database created on a...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Almost real time data for reporting database.

    sqlbuddy123 (9/13/2011)


    If you want Reporting Dbs to be in R\W mode, you can't use LS or DB mirroring. You need to use Replication but the setup would be a huge...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: Almost real time data for reporting database.

    Thanks for the reply Ashish.

    The client needs a separate reporting database for each OLTP DB.So if he has 350 DB's he wants 350 reporting databases each containing 20000 tables(not sure...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

  • RE: a=b=c?

    How about using the intersect operator ?

    DECLARE @a int = 123,

    @b-2 int = 123 ,

    ...

    --------------------------------------------------------------------------------------------------
    I am just an another naive wannabe DBA trying to learn SQL Server

Viewing 15 posts - 166 through 180 (of 337 total)