Forum Replies Created

Viewing 15 posts - 1 through 15 (of 66 total)

  • RE: how can we use 'select' statement inside an 'Insert' Statement

    Add one Bracket-

    INSERT INTO Counting VALUES (598, (SELECT COUNT(*) FROM Transfer))

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: SSIS not highlighting steps

    Ohh it is really weird :)....but we should keep in practice to save everytime all the work while using any microsoft product 😛

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: Should transaction log backups' file extension be .TRN or .BAK

    Extension is only for your refference there is nothing to do with SQL server. The only thing is you need to specify the name with extension (which you have given...

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: SSIS not highlighting steps

    Have you checked by right clicking on each data flow task whether it is enabled or not?

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: who create new db or drop db

    You can create trigger for that-

    IF EXISTS (SELECT * FROM sys.server_triggers

    WHERE name = 'ddl_trig_database')

    DROP TRIGGER ddl_trig_database

    ON ALL SERVER;

    GO

    CREATE TRIGGER ddl_trig_database

    ON ALL SERVER

    FOR DROP_DATABASE

    AS...

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: who create new db or drop db

    You can create trigger for that -

    IF EXISTS (SELECT * FROM sys.server_triggers

    WHERE name = 'ddl_trig_database')

    DROP TRIGGER ddl_trig_database

    ON ALL SERVER;

    GO

    CREATE TRIGGER ddl_trig_database

    ON ALL SERVER

    FOR DROP_DATABASE...

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: Differential backup Size Compared to sum of T-Log Backup Sizes

    No they cann't be same as the data stored in a Differential backup includes only the transaction log files up to the current checkpoint and transaction log contains all the...

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: String Manipulation

    select left('TransactionLogBackupTest_TransLog_201104051400.TRN',(cast(charindex('_','TransactionLogBackupTest_TransLog_201104051400.TRN') AS INT) -1))

    use "CAST AS INT" also before charindex. Sometime if the string return VARCHAR or anyother datatype than INT, than your query will fail.

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: Can't query remote database from SSMS

    Does user (sa on 1st server) have public role on master DB on secend server?

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: Replication latency

    Analyze the latency using tracer token. Also check the LAN or WAN staus.

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: Transaction replication question

    Hi Moorthy,

    Yes using DB mirroring with replication is a good option as mirroring supports transaction replication with automatic failover if you do mirroring on publisher database.

    Plz go through th BOL...

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: Litespeed Vs Native Backup?

    Comparison between Litespeed Backup and Native Backup Compression

    -Michael

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: Cannot open WPCSvc service on computer '.'.

    Run the powershell as an admin.

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: logins

    You can also do this from ssms. Security--->logins--->choose login--->rightclick--->properties----> Disabled

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

  • RE: logins

    You can also do this from ssms. Security--->logins--->choose login--->rightclick--->properties----> Disabled

    -MJ
    Please do not print mails and docx unless it is absolutely necessary. Spread environmental awareness.

Viewing 15 posts - 1 through 15 (of 66 total)