Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)

  • RE: Store Procedure

    Hi Lynn

    Sorry, I did not answer your question.

    The reason I looked for is as below

    1. I need to perform certain validation on database if it is called

    ...

  • RE: Store Procedure

    Hi All

    Thankyou verymuch for the solutoins.

    I tried using @@Nestlevel and it looks good to me

    I implemented the same and tested as well.

    Thanks a lot

    I can now...

  • RE: Violation of PRIMARY KEY constraint

    Before answering

    What is the primary key of your table?

    Is that user defined... or generated by any user defined function?

    If So,

    You may have to use the...

  • RE: How to send the email throught the sql server 2000

    I remember the procedure EXEC dbo.sp_sendmail.

    However, the feature needs to be turned on by the system administrator.

  • RE: writing function fordate

    1. There should not be any then , endif... etc

    2. You miss set

    IF @asofdate = @priormonthdate and TimClosestatus = 'C'

    BEGIN

    SET @asofdate = CONVERT(char(10), DATEADD(day, - (1...

  • RE: Open Source - Free Tool to Compare DB Schemas and Generate Synchronization Script

    Use Red Gate's SQL Compare

    You can compare Both Schema and Data as well

    Worth in ivesting..

  • RE: Identifying inactive sql databases

    I am not sure if any information_schema maintain the last modified data for each database.

    However, you can verify the timestamp on the following files of each database and sort...

  • RE: SQL Help Required!!

    The Best way to handle this is..

    Instead of storing the value as column in table

    Write a Function which will return the contribution percentage

    example F_GET_COUNTRY_CONTRIBUTION ( country_name, Year)

    By passing...

  • RE: problem in using the identity column in a table

    Hi

    You can reset the identity to a defined value using following command

    DBCC checkident (tablex, reseed, N)

    where tablex - replace your able name

    N - the number you want...

  • RE: how to check bit field value?

    The Stright forward statement is

    WHERE CancelFlag = 'False' or CancelFlag IS NULL

    The bit datatype allows you to compare the column with value 'True' or 'False'

    Venkat

Viewing 10 posts - 1 through 10 (of 10 total)