Click here to Skip to main content
16,008,075 members
Home / Discussions / Database
   

Database

 
Questiongetting information based on DateTime Pin
ONeil Tomlinson27-Sep-06 10:39
ONeil Tomlinson27-Sep-06 10:39 
AnswerRe: getting information based on DateTime Pin
nguyenvhn27-Sep-06 16:05
nguyenvhn27-Sep-06 16:05 
QuestionUpdate DB from DataGridView Pin
anderslundsgard27-Sep-06 10:22
anderslundsgard27-Sep-06 10:22 
QuestionRestore "AdventureWorks" database Pin
VK-Cadec27-Sep-06 9:53
VK-Cadec27-Sep-06 9:53 
AnswerRe: Restore "AdventureWorks" database Pin
Chris Buckett28-Sep-06 23:35
Chris Buckett28-Sep-06 23:35 
QuestionExecuting a Stored Procedure thru VS2005 Pin
Brendan Vogt27-Sep-06 4:25
Brendan Vogt27-Sep-06 4:25 
AnswerRe: Executing a Stored Procedure thru VS2005 Pin
nguyenvhn27-Sep-06 16:09
nguyenvhn27-Sep-06 16:09 
QuestionError: Attempt to open a table failed - there were no columns to retrieve were specified. Pin
AbbyDabby27-Sep-06 4:19
AbbyDabby27-Sep-06 4:19 
It has been a very frustrating effort attempting to find the root cause of this problem. I have searched the web sites and there is no definitive explanation. Likewise, this same message has been posted on Microsoft's SQL Server forum. There have been many viewers, but no responders.


We are running a Visual Studio C++ application using Sql Server / ODBC. SQL Queries are formatted and exceuted from the C++ code.

This particular SQL Error occurs about once every few months. Since the time of the last error, I added additional debug statements which log the exact format of the SQL Query that is being executed.

This is the SQL query that just failed.
SELECT * FROM [LaneInventory] WHERE (LaneInventory.LocationName = 'LANE_06');

The query that failed is executed hundreds of times within a 24 hour period every day, with the only exception being the location name changes in the query. The same exact query identified above was executed successfully about 15 minutes prior to this failure.

The SQL Exception message is very misleading.

I am wondering if SQL Server gets into a confused state every one in a while, or maybe it is a problem with the ODBC driver. The C++ application code is running on Windows 2003.

AbbyDabby
AnswerRe: Error: Attempt to open a table failed - there were no columns to retrieve were specified. Pin
Kschuler27-Sep-06 8:34
Kschuler27-Sep-06 8:34 
QuestionComplex SQL View Pin
Dayekh27-Sep-06 1:45
Dayekh27-Sep-06 1:45 
AnswerRe: Complex SQL View Pin
albCode27-Sep-06 2:18
albCode27-Sep-06 2:18 
GeneralRe: Complex SQL View Pin
Dayekh27-Sep-06 3:06
Dayekh27-Sep-06 3:06 
GeneralRe: Complex SQL View Pin
albCode27-Sep-06 3:10
albCode27-Sep-06 3:10 
GeneralRe: Complex SQL View Pin
Dayekh27-Sep-06 3:15
Dayekh27-Sep-06 3:15 
GeneralRe: Complex SQL View Pin
albCode27-Sep-06 3:30
albCode27-Sep-06 3:30 
GeneralRe: Complex SQL View Pin
Dayekh27-Sep-06 3:48
Dayekh27-Sep-06 3:48 
GeneralRe: Complex SQL View Pin
albCode27-Sep-06 3:58
albCode27-Sep-06 3:58 
QuestionInsert Record in Tables Pin
shapper27-Sep-06 1:18
shapper27-Sep-06 1:18 
AnswerRe: Insert Record in Tables Pin
Mike Dimmick27-Sep-06 2:13
Mike Dimmick27-Sep-06 2:13 
QuestionHow to search a dataset Pin
Rip Kirby27-Sep-06 0:11
Rip Kirby27-Sep-06 0:11 
AnswerRe: How to search a dataset Pin
Kschuler27-Sep-06 8:41
Kschuler27-Sep-06 8:41 
GeneralRe: How to search a dataset Pin
Rip Kirby27-Sep-06 23:48
Rip Kirby27-Sep-06 23:48 
GeneralRe: How to search a dataset Pin
Kschuler28-Sep-06 3:05
Kschuler28-Sep-06 3:05 
GeneralRe: How to search a dataset Pin
Rip Kirby28-Sep-06 9:25
Rip Kirby28-Sep-06 9:25 
QuestionGetting Maximum number: Pin
Shahzad.Aslam26-Sep-06 23:55
Shahzad.Aslam26-Sep-06 23:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.