472,951 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 software developers and data experts.

Visual Studio Incorrect Syntax Near The Keyword Default Information

Hi,

I have got a error message while I run a sample OLEDB program. It
says "Incorrect Syntax Near The Keyword Default Information".

platform: Windows XP + Visual Studio 2005 Beta 2 + SQL Server 2000

I goole it, somebody says the reason is the database file size up
to its limit, and set the Maximum File Size to Unrestricted File
Growth. But it's not suite my case.

I was not sure why it be, any help would be appriciate!

thanks

//chen


Nov 17 '05 #1
2 4480
Hi,

I believe there should be a problem with the SQL syntax your application
sends to SQL Server.
This thread might help you:

http://www.eggheadcafe.com/ng/micros...st23463083.asp

Regards - Octavio

"JMUApache" <ma********@163.com> escribió en el mensaje
news:me********************************@4ax.com...
Hi,

I have got a error message while I run a sample OLEDB program. It
says "Incorrect Syntax Near The Keyword Default Information".

platform: Windows XP + Visual Studio 2005 Beta 2 + SQL Server 2000

I goole it, somebody says the reason is the database file size up
to its limit, and set the Maximum File Size to Unrestricted File
Growth. But it's not suite my case.

I was not sure why it be, any help would be appriciate!

thanks

//chen

Nov 17 '05 #2
Hi

Thanks for both of your reply. As you say, there are some mistakes
with the sql statement, and I have find it out. The program work now.

Thanks for help.

//bow
On Sun, 04 Sep 2005 10:03:30 +0800, JMUApache <ma********@163.com>
wrote:
Hi,

I have got a error message while I run a sample OLEDB program. It
says "Incorrect Syntax Near The Keyword Default Information".

platform: Windows XP + Visual Studio 2005 Beta 2 + SQL Server 2000

I goole it, somebody says the reason is the database file size up
to its limit, and set the Maximum File Size to Unrestricted File
Growth. But it's not suite my case.

I was not sure why it be, any help would be appriciate!

thanks

//chen


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jeff Magouirk | last post by:
Dear Group, I am trying to create a view and keep getting the Incorrect syntax near the keyword 'Declare'" error. Here is the code I am writing. Create view fixed_airs (sid, fad_a2, fad_a3)...
3
by: teddysnips | last post by:
In the script below is the DDL to create some tables and a UDF. What I'm interested in is the UDF at the end. Specifically, these few lines: --CLOSE OTRate --DEALLOCATE OTRate ELSE --...
11
by: Mark Findlay | last post by:
Hello Experts! I am attempting to use the OleDbCommand.ExecuteScaler() function within my ASP.NET C# web page to perform a simple validation, but receive the following error: "Incorrect...
16
by: Nathan Sokalski | last post by:
I have Visual Studio .NET and SQL Server Desktop Engine on my computer. I have created an empty database using Visual Studio .NET's Server Explorer. However, I am having trouble connecting to the...
2
by: Jon | last post by:
hi, i was trying to create a DB in a SQL Server. but when i try to connect it with : Dim conn As SqlConnection = New SqlConnection("Initial Catalog=master; " & _ "Data Source=SERVER-MACHINE;" &...
2
by: ielmrani via SQLMonster.com | last post by:
Hi Everyone, I really tried to not post this question but I gave up. I tried brackets, parenth...etc but nothing worked. I get this error message: Incorrect syntax near the keyword 'THEN'. ...
0
by: netone | last post by:
I am developing site using dot NET.... when I use this sql query Dim mydata As String = "SELECT director.applno, district.distName, disabappl.recvddate_sdo, disabappissue.IDCardNo,...
3
by: wallic | last post by:
Hello, This is my first post and I am a beginner with SQL code. The code below is supposed to update a new table (loctable) with a calculated value based on the original table (hra_data). ...
10
by: arial | last post by:
Hi, I am getting this error message: Incorrect syntax near the keyword 'where'. Description: An unhandled exception occurred during the execution of the current web request. Please review...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.