I am at my wits end as to how to do this.
I have downloaded Sql server management Studio and tried to create a database but I can't figure it out. There is an almost nonexistant help file so I am lost as to how to start. I have succeeded in looking at some system databases but that is about the extent of it. Can someone show me the proper procedure Am I using the wrong tool
Thanks,
Paul

creating a database, tables, records, and fields in a Sql server 2005 express
SQLDiva
your statement:
INSERT INTO family VALUES ("Paul", "Handley");
should be:
INSERT INTO family (fieldname, fieldname) VALUES ("Paul", "Handley");
where fieldname is the name of your field.
AnupamKundu
In Visual basic 6.0 I could drop a few buttons on the form and with next, previous delete and insert methods I could alter the database where the columns were bound to individule Textboxes.
I have a lot to learn and there are very few books and tutorials written with info on what I want to learn.
I guess the gridview tasks are limited because I have no data to edit or delete, and I don't know how to use the Management Studio to enter the data. :(
Trond Smaavik
Paul
TheQuietShadow
Thanks,
Paul
Rob Morrison
Inserting is not supported by data source 'SqlDataSource1' unless InsertCommand is specified.
I feel sure If I could fix this I would be on my way, but the as I stated above the whe option are grayed out!
Will someone pleeese answer this post!
Jon_Hou
Make sure the database is AutoClose=true. If the database is not set to automatically close, the SQL Server service will keep it open as long as the server is running.
You can check this in the Options page of the database properties dialog in Management Studio.
Hope this helps,
Steve
Ethan S
Thanks,
Paul
SergeyDN
INSERT INTO family VALUES ("Paul", "Handley"); family is my table and there are only two columns. I tried putting the column names but got an error. I also get this error when I try to run the above query:
Msg 128, Level 15, State 1, Line 1
The name "Paul" is not permitted in this context. Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted.
Any suggestions
Paul
Rudi Groenewald
Hi Paul,
there is no need yelling in this group. As we are doing this all in our spare free time and on a voluntary basis, the poster of a question sometimes has to wait until he gets an answer. IMHO I would rather learn the basis things first, before comming to the groups and posting question which would have been solved if you just took a walkthough-easy-to-use-example.
The question you are posting is related that you appearantly didn’t specifiy which command has to be executed in the case of an insert. YOu can either specify your own command or use a commanbuilder (But that are , as I told below some basic things which wouldn’t concern you if you have done some ADO.NET basics first)
Fell free to come any time again in this group, but be aware that you sometime need to have a bit patience.
HTH; jens Suessmeyer.
Sebastiang
tonic999 Thank you for the post. I don't remember where I was now. In working with MySQL , though, in the insert statement (fieldname, fieldname) are optional.
My original question, If I can find the file I was working on, still stands, to wit:
Ok I've got to the point where when I am configuring the datasource and I get to the "Configure the select statement and I choose "Specify columns from a table or view. I click on te advanced tab and I want to choose"Generate Insert, Update and Delete Statements" but the whole dialog box is grayed out! What do I do now I want the capabilities of editing, insertsing, deleteing and updating my records
Thanks,
Paul
Neo77
If you are using the managment studio, right click on the Databases node, --> New Database. If you are using a script tool for this, the fastest way to create a database is CREATE DATABASE <name>, which stores the data files in the defautl location, specified at setup time.
HTH, Jens Suessmeyer.
ross04
Thanks,
Paul
Simon Dahlbacka
Insert into family Values( '','') **Those are single quotes**
Thanks,
Paul
Ambrose
You can either set the following command:
SET QUOTED_IDENTIFIER is OFF
to use double quotation marks, or you use single quotation marks which wont cause the problem.
HTH, jens Suessmeyer.