Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pradchal1
  • Content: Threads
  • Order by date
  1. pradchal1

    Dell Inspiron 6400 clean-up. Now DVD drive does not work.

    I have a Dell Inspiron 6400 and I recently was trying to clean all the unwanted softwares from my laptop. In the process I may have uninstalled either a program or a driver mistakenly. As a result, the DVD R/RW does not read DVD anymore. It still plays audio CD, but when I insert a DVD, it does...
  2. pradchal1

    CROSSTAB QUERY in SQL

    Am I right in coming to the conclusion that there is no built in method for creating crosstab queries in MS SQL 2000? I have form the reference under "Pivot" in SQL books that demonstrates how to build your own but it doesn't account for scenarios where I don't know how many column headings I...
  3. pradchal1

    CASE statement and DUPLICATE problem in SQL

    Earing Hold-Type Name Address $100 Address John Italy $100 DOB John Italy $50 Address Mike Canada $30 DOB Rose Dallas $30 Address Rose Dallas $200 Address Jenny New York My desired output: Earing Name Address $100 John "Hold" $50 Mike Canada...
  4. pradchal1

    UPDATE with more than one condition

    I am trying to UPDATE a table and my syntax: Update table1 Set Name = "Held" where Name_Hold = 'Yes' OR Set Address = "Held" where Address_Hold = 'Yes' OR Set Phone = "Held" where Phone_Hold = 'Yes' is not working. Any help would be appreciated. Thanks
  5. pradchal1

    Why does DB2 take so long to run a simple SQL logic?

    I have a simple query that runs against a DB2 database table with 200,000 rows of data. The table has about 10 columns. But my SQL query takes too long to run almost filling up the log. It is a simple logic. Can anyone suggest me anything I can do to make this any faster? My SQL is: delete from...
  6. pradchal1

    Getting Age from Date of Birth

    Does anyone know the SQL code to get Age from Date of Birth (YYYY-MM-DD)? Thanks
  7. pradchal1

    Unmatched Query Help

    I have two tables: Table A Field 1 Field 2 3 A 5 D 5 E 6 A 6 B Table B Field 1 Field 2 3 A 5 A 5 B 6 C 6 D Now I want an output table that has fields from Table A where...
  8. pradchal1

    Update Query

    I have the following table ID No Color A 2 RED A 1 RED B 3 RED B 4 RED C 2 RED D 2 RED D 1 RED And my desired output Table A 2 RED A 1 BLUE B 3 BLUE B 4 RED C 2 RED D 2 RED D 1 BLUE Basically the Color column has to be changed to...
  9. pradchal1

    Getting Duplicates

    In a situation like the following: A 05-05-2005 Blue A 05-05-2005 Red A 05-05-2005 Red A 04-04-2004 Red B 05-05-2005 Red B 05-05-2005 Red B 04-04-2004 Yello How do I get the following table: A 05-05-2005 Red A 05-05-2005 Red A 05-05-2005 Blue...
  10. pradchal1

    SQL Function Help

    What is the SQL function to get the age from a birthdate? I know in MS ACCESS, it is DateDiff("yyyy",BIRTHDATE,Now()) Thanks
  11. pradchal1

    Need Help with some SQL code

    Need help to produce two SQL queries on the following situation: I have a table that looks like this: Column A Column B A B C D E F G H B A D C F E H G These two columns are co-requisite of each other. In other words, A is a co-requisite of B, and B of A. I need to produce two...

Part and Inventory Search

Back
Top