Recent IT Questions

1 - 20 of 34
<<PREVIOUS 1|2 NEXT>>

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

  570 pts.

Improving the initial speed of a SQL query

I have optimized my SQL query to the maximum extent. The first time I ran the query, it took 7 seconds; the next time it took half a second. Why did this happen? How can I make the query run faster the first time around?

View Answer   |  Jul 21 2009  6:11 PM GMT
SQL query optimization, SQL queries, SQL Query
asked by SQL Server Ask the Experts

  2420 pts.

SQL Server 2005 Query Very Slow in the first run

Hi, I have an sql query which takes 8 seconds in the first run. The next run there after takes 0.5 seconds and all consecutive runs take 0.5 seconds. Is the plan getting cached? How do i make this query run in 0.5 second in the first run itself? Please find the query below. select...

View Answer   |  Jul 17 2009  10:15 AM GMT
SQL Server 2005, SQL query optimization, SQL queries
asked by Jsql

  140 pts.

select parent where more than one child

I want to select a row from the parent table based on whether there are two or more rows in a child table. What is the best way to do that?

View Answer   |  Jul 15 2009  1:01 AM GMT
SELECT statement, SQL, SQL queries
asked by Ghjazz

  5 pts.

Slow SQL Query

when i run below all SQL Query simulataneously against 1500000 Rows its take 10 minutes i put the non-clustered index on the columns TATCallType ,CallTo the data type of both columns is varchar select ID,AuditMaster_ID,CallTo,CallTypeTag into Auditdata_callto from auditdata where...

View Answer   |  Jul 13 2009  10:00 AM GMT
Slow SQL Query, SQL query optimization, SQL queries
asked by Mxaxyogesh2002

  30 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.

pasting a database query into crystal

I am creating reports in Crystal 8.5 because it is required for the CRM system we use. I am having trouble pasting the SQL query that I need into the report. It will populate but it is not updating the contents of the report. Can anyone hel with this?

asked by Messe

  5 pts.

CallManager and SQL Queries

I need to gather some data from our call manager and the reporting tool that comes packaged with the server is horrible! We have Call Manager version 6.1. Is there anyway query the call detail records other then using the reporting tool? If so, please advise me. Thanks

View Answer   |  Jun 2 2009  2:09 PM GMT
Cisco CallManager, Cisco CallManager 6.1, SQL queries
asked by Jlandon

  5 pts.

SQL Server query

how would I write an SQL statement to view the number of purchases for each month in the year of 2008..?

View Answer   |  May 27 2009  6:24 AM GMT
SQL Server administration, SQL queries
asked by Hodhod

  5 pts.

Querying database tables with their descriptions

I want to query an SQL server database for specific tables and their descriptions. How do I do that? Is there a special tool needed to do this?

View Answer   |  May 11 2009  10:01 AM GMT
SQL Server Query, SQL, SQL queries
asked by Sheni

  5 pts.

Execute command in SQL

can someone tell me the error in this statement declare @cmd nvarchar(4000) declare @PatNo bigint set @PatNo=123 set @cmd= N'insert into TmpDues ( PatNo, BillDate, ReceiptNo, PayMode Amt) select ReceiptTable.PatNo,ReceiptTable.BillDate,ReceiptTable.ReceiptNO,'+ '''Cash'''+' as PayMode,CashAmount...

View Answer   |  May 9 2009  6:26 AM GMT
SQL queries, SQL error messages, SQL
asked by Ash123

  5 pts.

I want to select months from Jan to Dec using SQL query.

i want to select months from jan to dec using sql query. i will use this for list item note:- without using pl/sql and less union

View Answer   |  May 4 2009  9:04 AM GMT
SQL queries, SQL development
asked by 440638

  45 pts.

log sql queries?

queries seem get mangled by our report writer middleware; I'd like to see the actual SQL received by Oracle9i from a particular user. how?

View Answer   |  Apr 17 2009  5:14 PM GMT
SQL queries, SQL Server logs, Oracle 9i
asked by Ktpierce

  5 pts.

Multiple Join Update

Hi, my need is to update a table with a join of 2 other tables. The first table (a) has 5 columns (product_id number, ist number, plan number, plan_w number, ist_w number) The second table (b) has 2 columns (prod_group_id number, percent number) The third table (c) has 2 columns (product_id...

View Answer   |  Apr 17 2009  11:47 AM GMT
JOIN statement, SQL queries, UPDATE statement
asked by Keltos

  25 pts.

Updating a field and counting unique field values from another fields all in the same query?

How can I structure the following query to allow me to count the number of unique entries in a field named "amount" and using the same query, update another field named "unique" Here is what I am doing: SQL = "select amount, count(amount) from tblmessagein group by amount having count(*) = 1" If...

View Answer   |  Apr 15 2009  10:59 AM GMT
SQL Aggregate error, SQL queries, SQL
asked by Grantp

  40 pts.

How do I write a SQL statement to get all data from a table called subscrib?

How do I write a SQL statement to get all data from a table called subscrib?

View Answer   |  Apr 5 2009  10:16 PM GMT
SQL statements, SELECT statement, SQL queries
asked by Thechriseco

  5 pts.

Matching External lists to your Database?

Hello everyone, I work in a telco and manage the data in the company's CRM. I'm often given lists of company names by our alliance team, and asked to match the list against our database to see which companies already exist in the CRM and which don't. At the moment I can only accomplish this by...

View Answer   |  Apr 1 2009  10:54 PM GMT
SQL queries, Query optimization, SELECT statement
asked by Nik14

  5 pts.

SQL query to list databases that have a given table

Hi all I need your help for creating some SQL query that returns the names of all databases that have a given table name. Ex. I'd like to run this query against the master database and search for all databases that have a table called "customers". Is it possible to do this, if yes how? Thanks in...

View Answer   |  Mar 20 2009  5:38 AM GMT
SQL queries, SQL, Database programming
asked by Alessandro.panzetta

  9615 pts.

SQL to insert comma-delimited string value to table column

I have string like '1,2,3,45,6,7,8' I want to insert each comma separated value in a table column...my output look like this: COLUMN 1 2 3 45 6 7 8

View Answer   |  Mar 18 2009  6:38 AM GMT
SQL Server Query, Comma-delimited, SQL queries
asked by 23121983

  5 pts.

SQL relational database

A relational database contains the following tables: Employee (EmployeeNo, EmployeeName, DateOfBirth, JobDescription,DeptNo) Project (ProjectNo, ProjectName, Location)Assignment (EmployeeNo, ProjectNo, Role-in-Project)Formulate the following using SQL:i. Find the names of all employees assigned to...

View Answer   |  Mar 14 2009  10:08 PM GMT
SQL relational database, SQL queries
asked by Lystra

  10 pts.

1 - 20 of 34
<<PREVIOUS 1|2 NEXT>>