Forum Replies Created

Viewing 15 posts - 841 through 855 (of 859 total)

  • RE: How can I check the Login history in sql server .

    Hi,

    What is it you are exactly looking for ?

    you cna use this to get a list of users:

    SELECT * FROM sys.database_principals

    WHERE TYPE='S'

  • RE: Syncing data between databases

    Hi,

    Yes it's possible. You should look at some of High Availability methods. You can use any of these methods:

    Replication - If you want to transfer the data over instantaneously in...

  • RE: transaction log full error

    Is it true that one database can have the maximum size of 8GB in sql server 2005?

    which edition of SQL server are you using?

    check this out

    http://www.microsoft.com/Sqlserver/2005/en/us/compare-features.aspx

  • RE: transaction log full error

    Hi,

    No the transaction log would not get deleted if you delete the data. Basically it logs the transactions yo performed you need to truncate the transaction log. If the log...

  • RE: Batch or Mass Load Process

    Hi,

    Yes this is the fastest way to load bulk data into the table. It works smoothly when both the target table and the input file has same number of columns....

  • RE: Batch or Mass Load Process

    P_DBA (11/19/2008)


    Hi,

    You could look at using BULK INSERT specifying column and row delimiters...

    this could be useful:

    http://blog.sqlauthority.com/2008/02/06/sql-server-import-csv-file-into-sql-server-using-bulk-insert-load-comma-delimited-file-into-sql-server/

    before doing this you can look at changing the recovery model to bulk logged

  • RE: Batch or Mass Load Process

    Hi,

    You could look at using BULK INSERT specifying column and row delimiters...

    this could be useful:

    http://blog.sqlauthority.com/2008/02/06/sql-server-import-csv-file-into-sql-server-using-bulk-insert-load-comma-delimited-file-into-sql-server/

  • RE: Database Maintenance

    As you say if you have high level of transactions taking LOG back up frequently is minimal and monitoring the size of log file is a must.

    I would create...

  • RE: transaction log full error

    Hi,

    its my pleasure.

    But you need to take some proactive measurements that transaction will fill up again.

    they are:

    Reasons:

    Due to Uncommitted transactions

    run DBCC OPENTRAN() to check for any open transactions

    Due to...

  • RE: transaction log full error

    What is the error you are getting? post it here

  • RE: transaction log full error

    Why are you shriking the file twice just back your log first ad then shrink the file as:

    USE mydatabase

    GO

    BACKUP LOG mydatabase WITH Truncate_Only

    TO DISK=".....path"

    GO

    then try to shringk the log file.....

    DBCC...

  • RE: Database Mirroring or Log shipping on different server

    Hi,

    Yes if you want to publish your database level objects you can use Replication(merge) technology, if you want to mirror the database either logshipping or DB mirroring

  • RE: Database Mirroring or Log shipping on different server

    Hi,

    this really depends on what you want to implement, since you have only two servers DB Mirroring would be advisable as you dont have to mirror it to multiple servers....

  • RE: transaction log full error

    You can use the :

    DBCC SHRINKFILE('logfilename') to shrink the log file specifying the target file size....to do a once-off

    Please refer to this post describes your situation:;)

    http://www.sqlservercentral.com/Forums/Topic530467-146-1.aspx

    The following proactive measurements...

  • RE: transaction log full error

    run this statement:

    Select log_reuse_wait from sys.databases where name='mydatabase'

    post the value of log_reuse_wait column

    0 = Nothing;1 = Checkpoint;2 = Log backup;3 = Active backup or restore;4 = Active transaction;5...

Viewing 15 posts - 841 through 855 (of 859 total)