SQL Questions and Answers

Recent IT Questions

101 - 120 of 830

0 Row affected

Could you please assist with the following? UPDATE dbo.[Elution_Report_Template] SET [Elutriation_Set_SqM] = dbo.[Elution_Report].[Elutriation_Set_SqM], [Elutriation_Pump_SqM] = dbo.[Elution_Report].[Elutriation_Pump_SqM], = dbo.[Elution_Report]., = dbo.[Elution_Report]., =...

View Answer   |  Jun 29 2009  5:32 AM GMT
SQL, Update, Query
asked by GPNel2006

  75 pts.

Separator Line in ASP.NET Gridview

Hello, I’m relatively new to ASP.NET and SQL, so what I’m asking maybe a simple question for some, but not for me. What I have is a Grid View that I’m trying to populate softball hitting statistics with. In it I’ve stacked statistics yearly statistics on top of career totals at the very...

Answer Question   |  Jun 25 2009  5:06 AM GMT
SQL, ASP.NET, GridView
asked by Rtodd

  5 pts.

Using SQL Connect Statement in SQLRPGLE

I need to use the SQL CONNECT statement within a SQLRPGLE program to connect from one AS400 system to another. I need to get data from one file to another. Does anyone know how to do this? Can it be done within a program. I have no trouble when I do it on an SQL command line... I use CONNECT to...

View Answer   |  Jun 24 2009  9:00 PM GMT
SQL, RPGLE, CLP
asked by JCCPT

  5 pts.

SQL: comparing rows and give the change

saving greetings to everyone! i m receiving a dump data at day 1, inserting all that data into a database. this database has about 30 above tables, each and every table has about 100 above rows. every table has a column name cell id. on 2nd day i again receive the dump which also has to be...

View Answer   |  Jun 24 2009  2:06 PM GMT
SQL Query, SQL
asked by K38

  20 pts.

top values and ranking

What function do i use to give a field a ranking based on it's current sorted position in a query. I do not want to use a running sum on a report - it needs to be in the underlying query as I am going to have to join several together.

View Answer   |  Jun 24 2009  11:04 AM GMT
SQL, RANK function
asked by PenguinWaddle

  5 pts.

about visual basic.net

Hi I install vb.net ready and make connection ready, but when I try to using SQL statement it is error: my SQL is dim strSQL as string="select * from tblCustome where CustomerID="& intCustomerID the error is it does not no the string &? Please show me the solution how to solve this error! thank my...

View Answer   |  Jun 24 2009  1:15 AM GMT
VB.NET 2003, Database connectivity, SQL
asked by 00001

  5 pts.

I NEED HELP WITH A SQL PROBLEM

I have a SQL statement that reads as follows: select subject1, subject2, subject3, subject4, subject5, subject6 from card_catalog where subject1 like ? This SQL statement works I just do not have the statement in front of me to type it in correctly. Is what my real question is. I have a TEXTBOX...

View Answer   |  Jun 23 2009  10:57 PM GMT
SQL
asked by COMPCAD

  15 pts.

SQL script to disable views after a demo period.

Hi, I have a sql view that I created for someone on a test basis. I want to create something (stored procedure, trigger, etc) that will delete or disable this view after a 30 day trial period. I prefer to make the view unvisible even to the "sa" administrator so that the view can not be recreated...

View Answer   |  Jun 23 2009  3:25 PM GMT
SQL, SQL Server 2005, SQL scripts
asked by Katiekat

  5 pts.

Update DateStructure Field through SQL Query

I wanna update a field in the table(which is a Data Structure) through Sql Query.. Can anyone help in this regard>>

View Answer   |  Jun 23 2009  6:44 AM GMT
SQL, SQL queries, Data structures
asked by Ragav

  5 pts.

Crystal Reports Duplicating Records

Hi, I hope that someone can help me. We are currently replacing a system with a new version and as such we are building a new SQL DB. Although the two DBs store the same information they don't share a common layout. I have created a basic report to see if the record count for a certain select...

Answer Question   |  Jun 22 2009  10:08 AM GMT
Crystal Reports, SQL, SQL Server
asked by Simonlevey

  5 pts.

SQL/400 Call Level Interface

The option set thru the SQLSetConnectionAttr call persists until the next SQLSetConnectAttr call. If I need to set another option, how do I know that the effect of the previously set option is no longer required? Can I set connection attributes after I have connected to the database? Thank you...

Answer Question   |  Jun 18 2009  9:29 PM GMT
SQL/400, SQLSetConnectionAttr, SQL
asked by LBurkett99

  800 pts.

Difference between ODBC and JDBC?

I'm writing a java application. In short, this application needs to connect to DB2 on an AS/400 for some SQL data. I cannot find a straightforward comparison of ODBC and JDBC. Do any of you know where I can find one? Or, have any of you done java programming with the intent to connect to AS/400...

View Answer   |  Jun 18 2009  1:49 PM GMT
DB2, AS/400, SQL
asked by Schmidtw

  10505 pts.

Access paths no longer valid

Ok, the plot thickens. I'm trying to identify and rebuild LFs that after an abnormal shutdown and normal ipl, are no longer being selected for SQL and QRY. These files are not damaged, but program response has taken a major hit due to these views not being selected. After researdhing one known...

View Answer   |  Jun 17 2009  3:23 PM GMT
iSeries performance, AS/400 Access Paths, SQL
asked by Modiyooch

  370 pts.

jsp--param and sql:update

Hello, Could anyone tell me if I need to do something special to use a param value as an sql insert statement in <sql:update>? The param value displays fine if I use <c:out>, but the value doesn't get inserted in a table by an insert statement.

Answer Question   |  Jun 8 2009  9:37 PM GMT
JSP, SQL, INSERT statement
asked by Eoeo

  5 pts.

Problem with ++ string operator in VB.NET

command3 = New Data.SqlClient.SqlCommand("UPDATE Products SET Stock=" + numU + " Where ProductName='" + proName + "'", connection3) At the code snippet above, numU is integer and when i execute it in insert at sql server as a double so it throws me an error and says me that its a double and you...

Answer Question   |  Jun 5 2009  9:19 AM GMT
VB .NET, SQL, Integer
asked by Tonis3x

  5 pts.

Delete variable file in SQLRPG

How can I use any variable file in an instruction SQL of DELETE in SQLRPG?

View Answer   |  Jun 4 2009  9:01 AM GMT
DELETE statement, SQLRPG, SQL variables
asked by Samuele

  5 pts.

understanding and detecting sql performance situation with abnormal 400 shutdown

Need help in understanding and detecting situation with logical files built for sql rpgle performance and abnormal shutdown. Our system went down due to ups failure. All of a sudden the rpgle sql program is a resource hog because it is not selecting the lf that was built specifically for...

View Answer   |  Jun 3 2009  2:32 PM GMT
RPGLE, SQL, DB2
asked by Modiyooch

  370 pts.

login failed

when i start debugging project,sql connection will be closed,before that it will be open .Iam using sql which comes along with vb.net 2005.Iam using sqlconnetion in login form also there its not giving error when i used sql connetion code in another form its giving error login failed .iam tried up...

Answer Question   |  Jun 2 2009  12:31 AM GMT
SQL, VB.NET 2005, SQL Debugging
asked by Shaz

  255 pts.

QAQQINI File

What is the QAQQINI file? Does it have to be in every library? I saw someone mention ignore_derived_index and setting it to yes. My files don't even have that value. I have the file in QSYS, QUSRSYS, and one of our test libraries. Are there any other options I should worry about? Currently,...

View Answer   |  Jun 2 2009  12:23 AM GMT
QAQQINI, SQL, iSeries
asked by Dcantwell

  180 pts.

How to pass month to MonthToDate?

I am trying to figure out a way to pass in the month to the monthtodate function or a date.

View Answer   |  Jun 1 2009  9:45 PM GMT
MonthToDate, SQL
asked by Ricm

  25 pts.

101 - 120 of 830