• IF…THEN for a SQL SELECT statement

    How do I do an IF...THEN for a SQL SELECT statement? So I have this already: SELECT IF(Obsolete = 'N' OR InStock = 'Y' ? 1 : 0) AS Saleable, * FROM Product How can I do it?

    ITKE371,800 pointsBadges:
  • SQL Convert Legacy Integer Date to actual date for Comparison issue

    I have a PF with a date broken in to three fields: 4 digit year, month, and day. I'm converting it in my SQL statement as follows: DATE(year||'-'||month||'-'||day) This works great for valid dates! The problem is there are invalid dates in the file such as 2/29(non leap year),30,31 or 4/31. There's...

    Dcantwell475 pointsBadges:
  • SQL: Conditional used in where clause

    In SQL, what are the conditional used in where clause?

    veronicahmungai20 pointsBadges:
  • Ignoring fields in SQL Where Statement

    Can fields in a where statment be ingnored. Such as Where name = :name and date = :date, but if I just pass in a name I'd like the where to select only on the name and ignore the date.

    Charrdzc5 pointsBadges:
  • How to validate user parameters in Oracle Reports 6i?

    Hi! I am using Oracle reports 6i to modify a standard report. I need to add two user parameters and a field retrieved should be between them if they are not left blank. If they are left blank, then, they should not be taken into consideration. My problem is: These two parameters are included in my...

    Nafy5 pointsBadges:
  • Transpose SQL (Pivot) columns to rows

    I need to pivot my records in columns into rows. Here is sample data: create table #columnstorows ( Payer varchar (5), ID varchar (5), ClM varchar (2), Paid1 float, Paid2 float, Paid3 float ) go insert into #columnstorows (Payer, ID, ClM ,Paid1, Paid2,Paid3) select...

    helalmob5 pointsBadges:
  • How to transition an old local CRM system to a more modern networked CRM Solution

    Hi. We have an old CRM system that is currently local to only a single location and we are looking to transition it to a more modern system with network capability and would appreciate any advice about the best way to go about it. Basically, we currently have a fairly simple Microsoft Access (2007)...

    ericw19755 pointsBadges:
  • How to show sum of instead count(*) on ResultsetGraph of Maximo Start Center

    I have to create a Result set graph in Maximo Start Center that shows  sum of actual labor hours instead of showing count(*) on Y axis. for example, if siteid 'ABC'  has three workorders '1001','1002' and '1003' in workorder table with 3,2 and 4 actual labor hours respectively then I have to...

    Eknath15 pointsBadges:

    I have PGM1 with SQL option SRTSEQ=*LANGIDSHR. Now from PGM1 I am calling PGM2 (PGM2 is a *PGM object with *InLR = *On) where SQL option SRTSEQ=*HEX When controls comes back to PGM1, what would be the SRTSEQ?

    BibekMajilla80 pointsBadges:
  • SQL Delete/Update

    I have file say with 100 records and I have 2 records which have similar data , so I have to delete only one record (out of 2 with same data) from the file, how would I do that? Every value in those records are same. I need solution through SQL statements.

    srav52025 pointsBadges:
  • Random generate in Access SQL

    If one random generate program on web, can it be hacked by a hacker and get the result?

    eessm13975 pointsBadges:
  • PCI compliance issue with SQL injection

    We're working on a client's PCI compliance. Here's one of the failing issues: 3.1.4. Blind SQL Injection (httpgenericscriptblindsqlinjection) We found out that the issue might be with the OWA. Does anyone know how to fix this issue?

    ITKE371,800 pointsBadges:
  • Converting from RPGLE to DB2/400 SQL

    My shop just announced that it intends to convert from RPGLE on the ISeries 400 platform, to SQL, such that the procedures will be portable to other hardware platforms. What documentation to I need to acquire to train on writing SQL procedures; initially within DB2/400?

    SeaRancher5 pointsBadges:
  • Measure occurrences in MS Access SQL

    I was wondering whether it is possible (and if it is, the way) to perform the following task in Microsoft Access: there are two tables; first one consists of three columns 1) ID 2) tweet text and 3) date. Second table is a single vector of words, like a lexicon. For every row of the first table, I...

    dempar5 pointsBadges:
  • Date subtraction in embedded SQL

    I am trying to get all records with an order date in the past 30 days, but the database field is YYYYMMDD. I know how to do this in RPG, but I really want to do it in embedded SQL. Thanks!

    JeffWilson91320 pointsBadges:
  • Develop logic in Oracle SQL

    How to develop logic in Oracle SQL?

    saddammulla015 pointsBadges:
  • Where should I start my entry-level IT career?

    How do I start career in IT industry when I have got bachelor's degree a long time back. I do not have an experience in IT but in HR. I do not have an experience in Canada where I have migrated 9 months back. There are very few females in IT industry. Where should I start. I even thought of...

    rinkyyy35 pointsBadges:
  • ENCRYPT_AES return CCSID error

    Claude15 pointsBadges:
  • Converting the XML data into SQL table and how to move values to a CLOB variable.

    Can anybody explain with an example for converting the XML data into SQL table and how to move values to a CLOB variable. Because I've looked at lot of sites but still not getting a proper solution.

    Sasikumarr200 pointsBadges:
  • PLSQL code on iSeries

    Hi, I have a question as we have developed some plsql procedures on Db2 10.5 on windows & Linux. This is purely plsql code. as we need to run these procedures on all the databases under a particular instance. My requirement is can I use the same plsql code on Db2/400. I mean on iSeries. On...

    HABBIE895 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.