Forum Replies Created

Viewing 15 posts - 16 through 30 (of 444 total)

  • RE: Find the Port a Connection is Using

    Nice script. Very useful information.

    Thanks.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Get concatenated value for a column without cursor

    Why to go hard way?

    No need to Add column ColRowNo and update it.

    I would go like this;

    ---------------------------------------------------------------------

    -- Create Table and Insert data

    ---------------------------------------------------------------------

    Create Table TestTable (RowID Int Identity(1, 1), Col1 int,...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Alter Table - Find who altered it and when

    If there is no info in default trace, than there is hardly any way to get the required info.

    Apply DDL trigger for future.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Isolation Levels

    Easy one...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: I want to Show the message like NO RECORDS FOUND

    regarding RDLC reports?

    You can discuss RDLC reports with .NET developer around you.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: I want to Show the message like NO RECORDS FOUND

    In case of RDLC reports, you get the dataset on the frontend and then bind it with the report. You can check the dataset before binding it with report and...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: How to Remove duplicate records (rows)

    ntext, text, image, or xmlcolumns cannot be used in an ORDER BY clause.

    And cHelp is a text column.

    OOps... didn't saw the page 2.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: how to get Getdate() without using convert or cast

    Select (select datepart(yy,getdate()) for XML Path(''))

    + '' +

    (select datepart(mm,getdate()) for XML Path('') )

    + '' +

    (Select datepart(dd,getdate()) for XML Path(''))

    There might be another way as well...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: I want to Show the message like NO RECORDS FOUND

    Are you running report from front end?

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: I want to write Dynamic SQL or stored procedure to calculate similarties between similar fields(having same column name and data type) of two tables.

    Declare @vSQL varchar(max)

    Declare @vCols varchar(max)

    Create Table vTable1 (id int, StudentID int, Dept varchar(10),BookID int)

    Create Table vTable2 (id int, StudentID int, Dept varchar(10),BookID int)

    Insert into vTable1

    ...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Find the Difference between two tables, listing the column values that differ

    No problem...:-)

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Find the Difference between two tables, listing the column values that differ

    And Click on 'ADD Topic' button on the top to add a new thread.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Find the Difference between two tables, listing the column values that differ

    WS,

    then you should go for dynamic sql;

    here is an example

    Declare @vSQL varchar(max)

    Declare @vCols varchar(max)

    Create Table vTable1 (id int, StudentID int, Dept varchar(10),BookID int)

    Create Table vTable2 (id int, StudentID int, Dept...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: Find the Difference between two tables, listing the column values that differ

    1. You should have started a new thread.

    2. Please come up with the DDL statements and Insert statements of the sample data.

    3. I hope this will help you;

    Declare @vTable1 Table...

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • RE: PRINT vagaries

    Good question..

    And its because the datatype of the variables ( @lenStringArray and @lenDelimiter) is INT.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

Viewing 15 posts - 16 through 30 (of 444 total)