Forum Replies Created

Viewing 10 posts - 16 through 25 (of 25 total)

  • RE: Does it make any difference if I simply add a "collate" in query, though it's not necessary?

    You can get incorrect results, however, if the weighting of null characters is different between the federated database and the data source.

    Likewise, for comparison statements, be careful if you are...

  • RE: Schema validation

    And what about try "Transfer database task" in SQL Server integration services to import remote databases and then you can do some comparations?

  • RE: sp_msforeachtable

    --change '%search string%' only

    declare @num int, @count int, @exec nvarchar(500), @find nvarchar(50)

    set @find =

    declare @tab as table (TABLE_SCHEMA sysname,TABLE_NAME sysname,COLUMN_NAME sysname,Row_Number int primary key)

    if (select OBJECT_ID('tempdb..#tab2')) is...

  • RE: Change schema in stored procedure

    declare @name sysname

    select top 1 @name=SPECIFIC_NAME from INFORMATION_SCHEMA.ROUTINES

    where ROUTINE_TYPE='PROCEDURE' AND ROUTINE_SCHEMA='ABC'

    while (@name is not null)

    begin

    execute( 'ALTER SCHEMA XYZ TRANSFER ABC.' + @name);

    select top 1 @name=SPECIFIC_NAME from INFORMATION_SCHEMA.ROUTINES

    where ROUTINE_TYPE='PROCEDURE'...

  • RE: AWE Memory

    SQL server take more RAM, if SQL sever need it.

    [p]But You can set: [/p]

    [p]sp_configure 'max server memory (MB)',6144;[/p]

    [p]sp_configure 'min server memory (MB)',6144;[/p]

    [p]reconfigure with override[/p]

  • RE: xp_cmdshell

    Try

    sp_configure 'xp_cmdshell',1;

    reconfigure

  • RE: Restore error

    source server= where is a backup

    destination server= where you want to restore database

    1. Create share on source server "share_name" - grant Everyone Read

    2. Grant read permissions on the source server...

  • RE: A single table corrupted?

    It seems problem with spn. When sql server starts, it creates spn in Active Directory. The SPN is an object in Active Directory. You can set the permissions with adsiedit.msc....

  • RE: How Can I stop SQL Server Service from a job??

    How Can I stop SQL Server Service ...?

    If it is cluster you need run cmd:

    cluster . res "SQL service name" /off

  • RE: Linked Server problem using MSDASQL

    Try check "double hop" problem.

Viewing 10 posts - 16 through 25 (of 25 total)