Forum Replies Created

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

  • RE: When Copy_Only is really needed

    There was no way out to get the benefit of using "copyOnly" without having this feature.... in earlier versions...

  • RE: Net Backup

    check with "restore labelonly" to verify whether the backup is taken up on disk or tape.

  • RE: help in my procedure

    Use this one... I think u were missing conditions in between...

    set ANSI_NULLS ON

    set QUOTED_IDENTIFIER ON

    go

    ALTER PROCEDURE [dbo].[DateReport]

    @DateStart nvarchar(50),

    @EndDate nvarchar(50),

    @CompName nvarchar(50)

    AS

    BEGIN

    declare @Query nvarchar(4000)

    set @Query ='Select [year].[month],

    [year].[year],

    [year].[money],

    Tvarizi.[money] AS TVM,

    Tvarizi.BillNum AS TVB,

    Tvarizi.DateOfPayBill...

  • RE: Sample Interval Time in Windows Perfmon?

    It directly impacts the size of log file. For longer time the counters data is collected, interval should be more. No impact on analyzing the counters.

  • RE: Dynamic query in a function

    U could write a proc instead of writing function with the same code.... call the proc 1st.. this proc should store the output in temp table.. then create a function...

  • RE: Backup Failure

    ...else it could be running under compressed folder....

  • RE: Dynamic query in a function

    Alternatively, u can write proc rather than function or include string initialization in proc and call the proc from inside sql function.... dont know whether it will work for u...

  • RE: STATS_DATE return NULL

    Try to rebuild one/all indexes on the table and check.... it should come... By the way, Why indexes are required if there are only 6 rows in the table....

  • RE: Alter Column

    Drop the index which was created on the column being dropped/modified.

    Also check, may be index was created on coposite key, if its there... drop the index then change the datatype...

  • RE: SQL FUNCTION HELP

    U can use case... inside function....

  • RE: Loop through string and test if substring of another string

    This could be useful too.... Tried to do in a small code....

    --Table creation and records insertion...........

    --create table aaa (name varchar(200))

    --insert into aaa values ('abcdefghijklmnop')

    --insert into aaa values ('bcdefghijklmnop')

    --insert into aaa...

  • RE: select

    pls. go through BOL or get a good book on SQL Server... as u r doing update..... and ur requirement is to get the records....

  • RE: how to check all tables of database for any update

    Create 1 table that will contain 1 row for each table in the database and a datetime column that will be having last_modified_date. This table then will be updated by...

  • RE: Case sensitive problem

    U can use Binary collation.... SQL_Latin1_General_Cp850_BIN

  • RE: Database mirroring test

    If u want ur Application to be redirected automatically onto the Failover Database, Google it... There r some pseudo codes available... it works like.. it checks the connectivity of the...

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