473,395 Members | 1,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 4514
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.