I have a table with 6 million rows.
I'm trying to perform a group by query that incudes a row count of the
PK column:
SELECT COUNT(DataID) AS Cnt, Column1Name
FROM dbo.TableName
WHERE (Column2Name = N'p')
GROUP BY Column1Name
I have the query timeout set to 0 in Enterprise Manger. However, if I
run this query, either in Enterprise Manager or in Query Analyzer, I
get the following error message:
[Microsoft][ODBC SQL Server Driver]Timeout expired
A little baffled as to why and how to run this query.
Any help is appreciated.
lq 2 3238
Apologies for the multiple posts in this group. My connection kept
getting dropped and I didn't know the post had succeeded. lq
On Oct 22, 12:21 pm, "laurenquantrell" <laurenquantr...@hotmail.com>
wrote:
I have a table with 6 million rows.
I'm trying to perform a group by query that incudes a row count of the
PK column:
SELECT COUNT(DataID) AS Cnt, Column1Name
FROM dbo.TableName
WHERE (Column2Name = N'p')
GROUP BY Column1Name
I have the query timeout set to 0 in Enterprise Manger. However, if I
run this query, either in Enterprise Manager or in Query Analyzer, I
get the following error message:
[Microsoft][ODBC SQL Server Driver]Timeout expired
A little baffled as to why and how to run this query.
Any help is appreciated.
lq
Hi,
Are you running the query from the same box? If not, what kind of
connectivity do you have to the box?
Also, what kind of indexes are in place for the query?
SQL Version and Service pack info would also be good.
laurenquantrell wrote:
Apologies for the multiple posts in this group. My connection kept
getting dropped and I didn't know the post had succeeded. lq
On Oct 22, 12:21 pm, "laurenquantrell" <laurenquantr...@hotmail.com>
wrote:
I have a table with 6 million rows.
I'm trying to perform a group by query that incudes a row count of the
PK column:
SELECT COUNT(DataID) AS Cnt, Column1Name
FROM dbo.TableName
WHERE (Column2Name = N'p')
GROUP BY Column1Name
I have the query timeout set to 0 in Enterprise Manger. However, if I
run this query, either in Enterprise Manager or in Query Analyzer, I
get the following error message:
[Microsoft][ODBC SQL Server Driver]Timeout expired
A little baffled as to why and how to run this query.
Any help is appreciated.
lq
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mathieu Blais |
last post by:
Hi,
I need to capture the Script timeout error if that is possible. I know I can
increase the timeout value in the server settings or in the scripts itself
but I really want to make sure that no...
|
by: Dunc |
last post by:
I've got a c# app that reads a database of 3,000 records. "Interesting"
thing is when I access 3 certain records, I get a database timeout error.
The code is very simple, and runs fine for the...
|
by: Martin Eyles |
last post by:
I am trying to perform a very long query on an MSSQL database, using
ASP.NET, and making the code behind in VB.NET. I have been receiving timeout
error, so I thought I would add Connect Timeout to...
|
by: mikado |
last post by:
Hi,
I want to access the gmail account through net/pop library and I try this example :
Class: Net::POP3
However,I have a timeout error such that:
c:/ruby/lib/ruby/1.8/timeout.rb:54:in...
|
by: 1harsh789 |
last post by:
Hi,
Can anyone please tell me about
What is ODBC Query timeout error?
And How to resolve this issue.
Thanks.
|
by: laurenquantrell |
last post by:
I have a table with 6 million rows.
I'm trying to perform a group by query:
SELECT COUNT(CityID) AS Cnt, Country
FROM dbo.tblCitiesWorld
WHERE (FC = N'p')
|
by: laurenquantrell |
last post by:
I have a table with 6 million rows.
I'm trying to perform a group by query that incudes a row count of the
PK column:
SELECT COUNT(DataID) AS Cnt, Column1Name
FROM dbo.TableName
WHERE...
|
by: =?Utf-8?B?QW5kcmV3?= |
last post by:
Hello, friends,
Our have a .net 2003 website using c#.net.
We want to let our users to have longer timeout time, and we did in
Web.config:
<authentication mode="Forms">
<forms...
|
by: nilaangel78 |
last post by:
Hi,
I am developing winforms project using vb.net. In this i am connecting SQL 2000 DB using odbc connection. When i run SQL select query i am getting timeout error.
But the same select query...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |