Forum Replies Created

Viewing 15 posts - 31 through 45 (of 65 total)

  • RE: SQL Programming

    sksankararaman (8/22/2008)


    Hi every body!

    I am new SQL. I can write some amount of queries. I have this problem and I am looking for a solution.

    I have one table which has...

  • RE: SQL Programming

    sksankararaman (8/22/2008)


    Hi every body!

    I am new SQL. I can write some amount of queries. I have this problem and I am looking for a solution.

    I have one table which has...

  • RE: Need help in a query - Accessing and modifying previous row data

    sg (8/22/2008)


    Thanks a lot Amit Khanna.. 🙂 Great job..

    Updating the temp table as done by Arjun tewari wont work

    declare @i int

    set @i=234

    update #temps set @i = cl_bal = @i...

  • RE: Need help in a query - Accessing and modifying previous row data

    Chirag (8/22/2008)


    arjun.tewari (8/22/2008)


    arjun.tewari (8/22/2008)


    sg (8/22/2008)


    create table #Temps

    (

    num int, OP_Bal int, quantity int

    )

    insert into #Temps values(1, 234, 12)

    insert into #Temps values(2, 234, 08)

    insert into #Temps values(3, 234, 9)

    insert into #Temps values(4,...

  • RE: Hierarchical query

    roy.halvorsen (8/22/2008)


    I have some problems with a creating a Select statement. The query includes 2 tables: tUsers (UserId (PK), ParentId (PK)) and tFamilyConn (UserId, FName, LName, Sex, DateOfBirth, DateOfDeath). Both...

  • RE: Need help in a query - Accessing and modifying previous row data

    arjun.tewari (8/22/2008)


    sg (8/22/2008)


    create table #Temps

    (

    num int, OP_Bal int, quantity int

    )

    insert into #Temps values(1, 234, 12)

    insert into #Temps values(2, 234, 08)

    insert into #Temps values(3, 234, 9)

    insert into #Temps values(4, 234, 11)

    select...

  • RE: Need help in a query - Accessing and modifying previous row data

    sg (8/22/2008)


    create table #Temps

    (

    num int, OP_Bal int, quantity int

    )

    insert into #Temps values(1, 234, 12)

    insert into #Temps values(2, 234, 08)

    insert into #Temps values(3, 234, 9)

    insert into #Temps values(4, 234, 11)

    select *...

  • RE: Partitioned Views

    Ray Herring (8/20/2008)


    I am trying to partition a large table (23MRows and growing) which is primarily an archive. I have set up the base tables and defined an appropriate...

  • RE: Auto update table with correlated subquery

    Exactly, Go for the derived table it is much much more performant than a sub query.

  • RE: Create Parent Child Structrure from dataset

    BTW, AFTER LOOKING AT THE DATASET, how do you define a member to be the parent of other?

  • RE: Create Parent Child Structrure from dataset

    soren kongstad (8/20/2008)


    Hi

    I have a dataset that looks like this

    id Code Text

    001 A ...

  • RE: Avoid Dynamic Query

    Man the requirement of this fellow is that his table name is also dynamic. 😎

  • RE: Avoid Dynamic Query

    Abhijit More (8/20/2008)


    Okay, the scenario is i have custom filter, which stores the SearchTable, SearchColumnName & SearchParameterValue in table in different columns like Product in 1 column | ProductName in...

  • RE: delete table

    Johannes Fourie (8/20/2008)


    Another option would be to do the delete on an insert trigger, it would add additional overhead on the table, but if the table does not have too...

  • RE: Dynamic SQL, conversion problem between varchar and money datatypes

    Spend some time in converting the external data as pr YOUR requirement and avoid further pains.

Viewing 15 posts - 31 through 45 (of 65 total)