Browse by Tags

  • SQL Query - Ignore row if there's letter in a field

    Hello Experts, Is it possible to filter a row if a particular field has letter? I have a field called ID that support both alphanumeric. However, I would like to filter out any ID that has letters.
    Posted to Btrieve (Forum) by software on 06-07-2010
  • SQL Query

    hello there, i have this query select count(id) as no,sectionid from receipt where receipttype=3 and receiptdate > '3/20/2010' group by sectionid now i want to also give me the sum of the count of each of those sectionid.
    Posted to Oracle (Forum) by software on 06-05-2010
  • T-SQL: JOIN statement returning syntax error

    I recently asked a question on how to create a table of cross-referenced values from multiple tables. My question was answered, but the actual query I needed was more complex than the question originally indicated. After some discussion, the person helping me came up with the following query, which ...
    Posted to Oracle (Forum) by software on 05-25-2010
  • Sql query

    Hi Experts! I am trying to create a query that meets the following conditions. From my duplicate table I would like to list Customerno1 and customerno2 where both customerno1 and customerno2 exists in the customer table I have tryed with the following query, but it gives me 0, and I know that is not...
    Posted to Cognos PowerPlay (Forum) by software on 05-16-2010
  • SQL update convert datetime to varchar yyyymmdd

    Hello, I have data stored as datetime: 2001-02-22 16:27:57.293 and would like this to be 8-digit string field yyyymmdd as: 20010222. There are also some null and/or blank values in there as well, so I want to case those out. something like: update tablename SET datefield = CASE WHEN Isdate(datefield...
    Posted to Btrieve (Forum) by software on 04-29-2010
  • One to One Relationship and ON DELETE CASCADE - RDBMS Design

    Customer and CustomerPrivateInfo are meant to be one to one relationship. If CustomerPrivateInfo record is attempted to be deleted, prevent deletion. If Customer record is deleted, delete its associated CustomerPrivateInfo. Does the DDL below fulfill my request? I'm using Oracle... Code Snippet:...
    Posted to Miscellaneous (Forum) by software on 12-26-2009
  • Displaying Decimal Points

    Hi, I have a generic question that is really annoying me... I have a couple of different ways of querying my DB.. I use Toad, Excel, SQL Plus & a SQL editor called "Universal SQL Editor" When I query the DB using SQL Plus & Excel, I can see the number of decimal places that are in the...
    Posted to Miscellaneous (Forum) by software on 12-11-2009
  • How to Draw Diagram for My Database Design?

    I find database designs get the db designer mixed up/confused in some point of designing. Is there a certain diagram flow that is commonly known amongst designers? When i design a database, it comes to a point i feel i want to put them all in one sheet of paper so i can know what goes in and what goes...
    Posted to Miscellaneous (Forum) by software on 11-29-2009
  • SQL*Plus Error While Running a DDL Script - Oracle

    I have DDL Script. When i run every table DDL script individually, tables gets created. However, when i run the whole script by doing: SQL> @C:\Users\Home_User\Desktop\motel_db_schema.sql I got error for one the tables which screws up all the child tables too. This is the error i get: SP2-0734: unknown...
    Posted to 10.x (Forum) by software on 10-04-2009
  • Infopath: Query a SQL database

    I have been searching for hours now and I can't seem to find an answer on my very simple question: How do I CODE a SQL connection in InfoPath? (VB in Visual Studio for Applications) Everywhere I find some example of codes, it all starts with "Add 'Imports System.Data.SQLClient'"...
    Posted to Infopath (Forum) by software on 10-01-2009
Page 1 of 6 (57 items) 1 2 3 4 5 Next > ... Last ยป