Forum Replies Created

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

  • RE: Restore backup error

    MarkusB (9/27/2013)


    :w00t: That doesn't look good.

    Your backup file is definetly not ok. Could it be that the backup was taken on a different version of SQL Server than your...

    Igor Micev

  • RE: Restore backup error

    IgorMi (9/27/2013)


    MarkusB (9/27/2013)


    Can you do a Restore HEADERONLY ?

    Yes I'm able to do it

    BackupNameBackupDescriptionBackupTypeExpirationDateCompressedPositionDeviceTypeUserNameServerNameDatabaseNameDatabaseVersionDatabaseCreationDateBackupSizeFirstLSNLastLSNCheckpointLSNDatabaseBackupLSNBackupStartDateBackupFinishDateSortOrderCodePageUnicodeLocaleIdUnicodeComparisonStyleCompatibilityLevelSoftwareVendorIdSoftwareVersionMajorSoftwareVersionMinorSoftwareVersionBuildMachineNameFlagsBindingIDRecoveryForkIDCollationFamilyGUIDHasBulkLoggedDataIsSnapshotIsReadOnlyIsSingleUserHasBackupChecksumsIsDamagedBeginsLogChainHasIncompleteMetaDataIsForceOfflineIsCopyOnlyFirstRecoveryForkIDForkPointLSNRecoveryModelDifferentialBaseLSNDifferentialBaseGUIDBackupTypeDescriptionBackupSetGUIDCompressedBackupSize

    *** INCOMPLETE ***NULLNULLNULLNULL1NULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULL

    Igor Micev

  • RE: Restore backup error

    MarkusB (9/27/2013)


    Can you do a Restore HEADERONLY ?

    Yes I'm able to do it

    Igor Micev

  • RE: Find Locked objects with high waitstats

    Hi,

    It's easy with extended events (XE) in sql server 2012 by help of its GUI. It should be possible with XE 2008 R2, but you'll have to write some code...

    Igor Micev

  • RE: SH Latch

    I do have those pages in the restored database but because the database is in simple mode, page restore isn’t an option and DBCC repair_allow_data_loss doesn’t remove the corruption either.

    The...

    Igor Micev

  • RE: Tempdb data file fills up very often

    Bhuvnesh (9/25/2013)


    IgorMi (9/23/2013)


    What is the recovery model of your TempDB? Default is SIMPLE, and it should be.

    can we change it ? ??

    You're right! It cannot be different from SIMPLE....

    Igor Micev

  • RE: Five Rules For Sucessful Conversations With DBAs

    Very nice article!

    I believe that every developer with 2+ years experience has passed through all the mentioned rules.

    Thanks.

    Igor Micev

  • RE: Tempdb data file fills up very often

    Hi,

    What is the recovery model of your TempDB? Default is SIMPLE, and it should be. Autogrowth of 10% is not the best option.

    Citing Erland:

    Do you have any databases that...

    Igor Micev

  • RE: Reduce the size of database

    shiwani.plrs (9/20/2013)


    for information

    database size is 16938.25 MB

    and available space is 1455.23 MB

    Hi,

    According to your info, you should not shrink the database's files.

    If you do that, then do not forget...

    Igor Micev

  • RE: Setting Different Colors for Connections in SSMS

    Nice and interesting article. I didn't know it.

    Thanks

    IgorMi

    Igor Micev

  • RE: wildcards

    Nice question.

    Results are very obvious.

    It needs

    DECLARE @i TABLE( mychar VARCHAR(11));

    Igor Micev

  • RE: Add a flag field if all rows match?

    SQL_Kills (9/8/2013)


    Hi,

    I don't want to alter any table, I want this done by a sql select statement only? Plus this would not work as only want it to appear as...

    Igor Micev

  • RE: Add a flag field if all rows match?

    Hi

    This code should do your job:

    alter table salesOrders

    add OrderMatched varchar(3) null

    update salesOrders

    set OrderMatched = 'yes'

    from salesOrders s join ProductList p on s.ProductID = p.ProductID

    update salesOrders

    set OrderMatched = 'no'

    where OrderMatched is...

    Igor Micev

  • RE: Violation Of primary key constraints, Cannot insert a duplicate key in object

    eobiki10 (9/8/2013)


    Hi All,

    I have this error message; Violation of Primary key Constraint. Cannot insert duplicate primary key in object. The value that is causing this error is (128503).

    I have queried...

    Igor Micev

  • RE: ACID Properties Question

    Very nice question!

    Thanks

    Igor Micev

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