Forum Replies Created

Viewing 13 posts - 211 through 224 (of 224 total)

  • RE: Maximum Date that exists for two or three parties and also another table

    Hi Nugby, try this. But let me warn you, this is a crooked way of doing it.

    And it may not give good performance for large tables (see the functions...

    https://sqlroadie.com/

  • RE: How to create task in order to get one instead 3 column?

    Try this:

    create table #t(customernumber varchar(10), notes varchar(10), lastvisitdate smalldatetime)

    insert into #t values(100000, 'text 1', '10.feb.2010')

    insert into #t values(100000, 'text 2', '10.feb.2010')

    insert into #t values(100000, 'text 3', '10.feb.2010')

    ;with cte as

    (

    select customernumber,...

    https://sqlroadie.com/

  • RE: SQL Server Developer Edition and Reporting Services

    Lester Vincent (3/21/2010)


    Thanks Jason. I tried installing the REporting Services Component from my Dev Edition CD but it was not listed among the Components. ...

    https://sqlroadie.com/

  • RE: Where are you?

    Hey Ray, have you been to Bangalore? I think there are only a few people from Bangalore in SSC (yet to find another one). 🙂

    https://sqlroadie.com/

  • RE: Where are you?

    Hey I am from Bangalore, India 🙂

    https://sqlroadie.com/

  • RE: Need help to insert a row in 1 table into 2 tables

    Hey I didn't quite understand your question. What are you trying to do here?

    Copy and process some data from existing tables, based on some conditions and insert the result...

    https://sqlroadie.com/

  • RE: need to combine multiple rows to a single row

    Why can't you use XML here instead of the table approach? I think it will be more elegant.

    create table #t(membername varchar(10), uniquenum varchar(10), id int)

    insert into #t values('abc', '4567A4', 1)

    insert...

    https://sqlroadie.com/

  • RE: Problem Returning Distinct Results

    Hey thanks for the time Paul. I will watch what I write here. I think it is important not to mislead other people who refer to the forums. I will...

    https://sqlroadie.com/

  • RE: Problem Returning Distinct Results

    Sorry, but I really want to nail this down. Bear with me.

    Are you saying it is faster to copy to the rows to a temporary table, and add the...

    https://sqlroadie.com/

  • RE: Problem Returning Distinct Results

    Paul White (3/15/2010)


    Arjun Sivadasan (3/15/2010)


    Ya I have tried that (the temp table approach on queries that return ~40k rows with performance improvement from 10 to 2 secs. Of course, with...

    https://sqlroadie.com/

  • RE: Problem Returning Distinct Results

    Ya I have tried that (the temp table approach on queries that return ~40k rows with performance improvement from 10 to 2 secs. Ofcourse, with the addition of index) Paul....

    https://sqlroadie.com/

  • RE: Problem Returning Distinct Results

    Hi Steven,

    Is this what you need?

    create table #t(col1 int, col2 int)

    insert into #t values (1, 10)

    insert into #t values (2, 55)

    insert into #t values (3, 68)

    insert into #t values (4,...

    https://sqlroadie.com/

  • RE: Creating a database for a report

    pablavo (3/8/2010)


    Hi there,

    I'm working on a very complex report and want the running time to be as minimal as possible. the report displays financial data and will be used...

    https://sqlroadie.com/

Viewing 13 posts - 211 through 224 (of 224 total)