SQL Questions and Answers

Recent IT Questions

1 - 20 of 828
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>

Msg 102, level 15, State 1, Line 14

Hi, I'm ttrying to create my db tables in a stored procedure and I keep getting the error that the syntax is incorrect around the 'ON' on the line "SET ANSI_NULLS ON". Could you please help me? I can't see what's wrong. Here's my code:  CREATE PROCEDURE InsertDBTables  AS  BEGIN  SET NOCOUNT...

View Answer   |  Nov 19 2009  6:54 PM GMT
SQL, Stored Procedures, CREATE TABLE statement
asked by MasterK

  15 pts.

SQL

is it possible to have a where sql statement that is open ended. I have notice that there are time that parameter box pops up with some the Access pass-through queries that I have.  Is it possible  with SQL to be able to have a box pop up that would ask for a specific input to the...

View Answer   |  Nov 18 2009  4:40 PM GMT
SQL, Access Datasheet, Microsoft Access 2000
asked by CompEng

  590 pts.

How to encrypt a big list of sp's at once

I want to encrypt a large amount of store procedures (around 4000)at once,so they wouldn't be able for the final user. As this operation needs to be done several times in the future and taking in consideration that doing this manually will take a long time, I'll like to know if there is a way to...

View Answer   |  Nov 17 2009  7:52 PM GMT
Encrypt, Stored Procedures Optimization, SQL
asked by Grizo

  5 pts.

To trap the item name of more than one item selected in list control

1)Is it possible to trap the item name of more than one item selected in the list control?Then how?I wish to trap the item name of more than one item selected in the list/combo control with/without the help of index numbers of the item selected. 2)And then use this item name to pick up data related...

View Answer   |  Nov 17 2009  7:40 PM GMT
Microsoft Access, Visual Basic 6.0, SQL
asked by MBAinsystems

  5 pts.

data search using popup window

Is there a sample RPG/CL/SQL code on how to create a popup window to search data from a PF? Software/Hardware used: RPG, CL, SQL, iSeries

View Answer   |  Nov 17 2009  0:44 AM GMT
Physical Files, RPG, CL
asked by Sarapsm

  5 pts.

Passing data between two SQL Server databases

I am having an issue to passing data between two SQL Server databases. I can not simply use Import/Export functions or Data Transfer Functions from SSIS because I was asked to transfer “20%” data with more than 15 criteria among 400 tables. Also we are not allowed to use the linked server,...

View Answer   |  Nov 12 2009  9:07 PM GMT
SQL, SSIS, Stored Procedures
asked by 2747031103112747

  15 pts.

SQL QUERY VIEW - HELP REQUIRED !

I have an sql : [strong]select customer invoice_no invoice_amount due_date from Table[/strong] This gives a list of all details in rows 99999  1234 12.50 21/11/09 99999  1235 13.55 22/11/09 99998  7899 12.20 21/12/09 99998  7900 12.75 22/12/09 99998  7901 11.11 23/12/09   I want a line...

View Answer   |  Nov 11 2009  4:38 PM GMT
SQL, SQL Query
asked by Gerrib

  145 pts.

SQL select for month date range

Hello, I am attempting to obtain a count of visits each patient comes in in one month, so for example of they were a new patient in January on the 4th, I would want from the 4th of January to the 4th of February.  The code I am attempting to use is below, but every time I use it, no records are...

View Answer   |  Nov 9 2009  10:03 PM GMT
SQL Server, SQL
asked by CraigN

  20 pts.

iSeries SQL UDF gets CPF426A

I created a SQL UDF using the iNav wizard.  It created the service program for me yet when I try to use the function I get CPF426A "User-defined function &5 cannot be invoked." with a reason 2 (Either the service program is not found or the program entry point &6 does not exist.)  It says the...

Answer Question   |  Nov 6 2009  3:02 PM GMT
iSeries, SQL, UDF Returning DATE
asked by RJonesPartrick

  15 pts.

Migration from Paradox to MS Access or VB.Net/MS SQL

We have a department that has several applications running on Paradox 11.  They need assistance migrating their tables and application UI/code to another platform.  Any feedback or guidance would be appreciated. Software/Hardware used: Windows XP desktop, Windows Server 2007

Answer Question   |  Oct 30 2009  9:11 PM GMT
VB.NET, VB.NET 2008, Paradox 11
asked by ScotE

  35 pts.

How to convert LONG to CLOB or to VARCHAR type in select statement

Hi, I need to convert LONG to CLOB or to VARCHAR type, to be able to apply either dbms_lob.substr() or just SUBSTR() function to this conversion result. Unfortunately Oracle function to_lob() converts LONG value in the column long_column to LOB values in the select list of a subquery in an INSERT...

View Answer   |  Oct 30 2009  8:00 PM GMT
Oracle, Long, CLOB
asked by SamG

  15 pts.

About Time

Hi Everyone, I need a PLSQL query inorder to keep track of TIME. Scenario : The Time Performed should be before the Other Time. Regards, Pet   Software/Hardware used: OC

View Answer   |  Oct 27 2009  6:03 AM GMT
PL/SQL, SQL, Oracle
asked by Checkp3

  10 pts.

Sound from .net

how can I save and retrieve sound wav files to and from sql database using vb.net?

Answer Question   |  Oct 27 2009  4:53 AM GMT
.NET 2.0, .NET, SQL
asked by Semauel85

  15 pts.

SQL query help

Below is a list of the query that I am working on. There are part numbers that may be match to more than one module number. What I need is to show only the part numbers for the list. These part numbers I need a list of only one part number for each group. PartNo------ Module------ Numbers...

View Answer   |  Oct 26 2009  1:24 PM GMT
SQL, SQL Query, SQL queries
asked by CompEng

  590 pts.

MySQL database size

Is there a limit on database size for MySQL? my database is getting on the large zise will this effect proformance? Software/Hardware used: linux server

View Answer   |  Oct 25 2009  5:45 PM GMT
SQL, MySQL, PHP
asked by Worktopm

  5 pts.

Converting SQL 7 Database to Excel

Hi, I would like to know any possible way of converting my Sql 7 Database to Excel formats. Any ideas anyone. Thanks

View Answer   |  Oct 25 2009  7:37 AM GMT
SQL 7, SQL to Excel Database Conversion, SQL
asked by Bertski

  15 pts.

How to use SQL to filter columns in a spreadsheet.

I have a query that is listed below. I need to develop a statement that would filter the month and the year as well as the Phase informaton in the access table.  __________________________________________________________________ Select INMSP300.M3OE# as "OENo", INMSP300.M3OEC as "ComprsOE",...

View Answer   |  Oct 23 2009  12:43 AM GMT
SQL, Access Datasheet
asked by CompEng

  590 pts.

MERGE using DECODE logic to control UPDATE

MERGE using DECODE logic to control UPDATE The SQL below has been running extremely well for over a years in our Production application on Oracle release 10.1. We have recently upgraded to Oracle release 11.1 and this same SQL routine now takes a minimum of 4 times longer to run on 11.1 Has anyone...

Answer Question   |  Oct 23 2009  1:15 AM GMT
SQL, Oracle 11g
asked by ITKE

  10285 pts.

STRQMQRY in batch on i5

Can STRQMQRY be run in batch? I am getting error message: Global variable prompting is not allowed in batch mode. I am passing 2 parameters from a display screen Software/Hardware used: iSeries, SQL, CL

View Answer   |  Oct 19 2009  4:16 PM GMT
SQL, CL, SQL development
asked by TOASTY

  35 pts.

I NEED SQL COMMAND TO EXTRACT THE NUMERIC VALUSE IN BETWEEN THE STRINGS

VCH:FR:AUD/120.18/51.26YQAC/1.35QKAD/14.47QRCO/14.47QREB/1.35QKSB/6.00WGSE/20.91UOVZ I NEED TO EXTRACT THE VALUES IN THE ABOVE STRING AND SUMM ALL THE VALUES USING SQL COMMAND EX:120.18+51.26+1.35.....IN THE ABOVE GIVEN REFRENCE Software/Hardware used: SOFTWARE

Answer Question   |  Oct 17 2009  5:21 AM GMT
SQL commands, SQL
asked by UUKKY

  15 pts.

1 - 20 of 828
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>