Forum Replies Created

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

  • RE: Performance tuning a query

    Execution can be very helpful. But without plan, I came up with the following code. You can try;

    -- Get the SamplesPartner Meta Table Ids

    DECLARE @specimenMetaTableSqlId SMALLINT

    DECLARE @specimenMetaTableIncId INT

    SELECT @specimenMetaTableSqlId...

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

  • RE: Stairway to PowerPivot and DAX - Level 1: Getting Started with PowerPivot and DAX

    Hello,

    I am learning PowerPivot so It might be a stupid question. Sorry for that in advance. My question is why do we have to install Analysis Services for using PowerPivot...

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

  • RE: Find data difference between two datasets

    The script seems to be embeded with special characters. Please remove tab before + name + in the query right after --Data approach comment and then execute.

    -- Data approach

    Select @vCols...

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

  • RE: Way to Check Multiple LIKE without dynamic SQL

    @adudley

    you can find fnSplit on the net. just google it and you will find the code for it.

    @bhatta

    This is just an approach of performing a task without dynamic SQL. Otherwise,...

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

  • RE: How to Connect to SQL Server

    Check this...

    http://www.mssqltips.com/tip.asp?tip=1441

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

  • RE: Count Number of Words and Characters

    The Danish Dynamo (7/30/2010)


    i posted that solution years ago, you just copied it and messed it up, please delete it

    Really :w00t:? And how "messed up"?

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

  • RE: Count Number of Words and Characters

    WHILE loop is there by mistake (was testing something before posting it). Please ignore it.

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

  • RE: Order by is not working

    You are using user defined data types.

    I changed the table structure and then inserted the records. Nothing seem to be wrong. Can you please give some details;

    CREATE TABLE dbo.LU_OVERVIEW_CONTROL_PAGE

    ...

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

  • RE: Parsing / breaking character separated values in a table in one query

    Interesting and superb testing. I would definitely check the XML approach on monday morning. Its weekend now.:-)

    Thanks.

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

  • RE: Parsing / breaking character separated values in a table in one query

    plz check my last posted query. Its working fine.

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

  • RE: Parsing / breaking character separated values in a table in one query

    Thanks for pointing Doug. Try this;

    Declare @vTable Table(id int,val varchar(Max))

    Insert into @vTable Values (1,'Atif1 SS')

    Insert into @vTable Values (2,'Asif2 SS')

    ;with wcte (id,val,strpos) as

    (

    Select id,substring(val,0,case when charindex(' ',val,0) = 0...

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

  • RE: Parsing / breaking character separated values in a table in one query

    Dear paul_ramster,

    First of all, thanks for the new version of the query and sharing your knowledge. That is why we (at least I visit this website.)

    The point raised by...

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

  • RE: REPLACE() and NULL

    Nice one...

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

  • RE: Tabify Select Lines

    Nice one.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    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

    My question is this: What matters more,in large sets of data, execution time, or execution cost?

    As a DB guy, I think both of them are important. As a client, its...

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

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