Click here to Skip to main content
15,900,511 members
Home / Discussions / Database
   

Database

 
AnswerRe: Query for deleting duplicate row Pin
Rocky#24-Apr-07 20:46
Rocky#24-Apr-07 20:46 
QuestionIF Statement in Sql Pin
nuraprakash23-Apr-07 19:53
nuraprakash23-Apr-07 19:53 
AnswerRe: IF Statement in Sql Pin
gauthee23-Apr-07 20:06
gauthee23-Apr-07 20:06 
GeneralRe: IF Statement in Sql Pin
nuraprakash23-Apr-07 23:03
nuraprakash23-Apr-07 23:03 
GeneralRe: IF Statement in Sql Pin
gauthee23-Apr-07 23:48
gauthee23-Apr-07 23:48 
Questionhow can we insert into field arabic number(hindi format) Pin
smr8523-Apr-07 7:59
smr8523-Apr-07 7:59 
QuestionWhat is the SQL 2000 sp for... Pin
lost in transition 23-Apr-07 5:48
lost in transition 23-Apr-07 5:48 
QuestionTable Names Pin
thecodedemon23-Apr-07 5:04
thecodedemon23-Apr-07 5:04 
I'm using SQL 2005 Express, and VC#2005 Express. Using a SQLCommand.ExecuteNonQuery() with a CREATE TABLE statement, I can make a table in my database with the columns I need, determined at runtime. I've verified the table is made in the database correctly, via SQL server Management Studio Express. In the process of making the CREATE TABLE statement, I also make the table in my local DataSet, same name, same columns, should be identical, along with a DataAdapter for the table. However, when I try to DataAdapter.Fill() the table, it tells me the table name is invalid, like the table isn't in the database on disk. I've tried setting the MissingSchema property to PassThrough, and then the .Fill() makes a new table, same columns, keys, etc., but the name of the new table is "Table", not the table name I create it with. Any help on this, either the table isn't being made right, or the DataAdapter is screwing up somehow, I can't figure it out.

My CREATE TABLE statement
CREATE TABLE finished (Listing NOT NULL PRIMARY KEY IDENTITY(1000,1),[More data columns, shouldn't be the problem, just data])

The SELECT statement used in DataAdapter
SELECT Listing,[More columns as above] FROM finished

I can post the code if needed

A soft glow comes from the pit in the darkness.
The clicking noise become faster - and louder.
A wind begins to stir up from the pit, as the
creature flexes it's wings, preparing for flight.
You stare into the pit, and hear a voice say
in your mind, "If you survive the encounter,
declare it to the world."

The Code Demon Rises.

AnswerRe: Table Names Pin
thecodedemon23-Apr-07 6:40
thecodedemon23-Apr-07 6:40 
GeneralRe: Table Names Pin
Aaron VanWieren23-Apr-07 9:50
Aaron VanWieren23-Apr-07 9:50 
QuestionPassword Protection Pin
.NET- India 23-Apr-07 2:23
.NET- India 23-Apr-07 2:23 
AnswerRe: Password Protection Pin
Colin Angus Mackay23-Apr-07 2:58
Colin Angus Mackay23-Apr-07 2:58 
Questionneed a query Pin
Revathi Raj23-Apr-07 0:49
Revathi Raj23-Apr-07 0:49 
AnswerRe: need a query Pin
Colin Angus Mackay23-Apr-07 0:54
Colin Angus Mackay23-Apr-07 0:54 
QuestionTime comparison Pin
Exelioindia22-Apr-07 21:22
Exelioindia22-Apr-07 21:22 
Questiongridview + vb Pin
Oga M22-Apr-07 21:18
Oga M22-Apr-07 21:18 
AnswerRe: gridview + vb Pin
Arun.Immanuel22-Apr-07 21:26
Arun.Immanuel22-Apr-07 21:26 
GeneralRe: gridview + vb Pin
Oga M22-Apr-07 21:35
Oga M22-Apr-07 21:35 
GeneralRe: gridview + vb Pin
Arun.Immanuel22-Apr-07 21:38
Arun.Immanuel22-Apr-07 21:38 
QuestionPassword Protection Pin
Ajeet mittal22-Apr-07 19:59
Ajeet mittal22-Apr-07 19:59 
AnswerRe: Password Protection Pin
Pete O'Hanlon22-Apr-07 23:35
mvePete O'Hanlon22-Apr-07 23:35 
QuestionProtection of database from other user Pin
Ajeet mittal23-Apr-07 21:25
Ajeet mittal23-Apr-07 21:25 
QuestionTrying to update MS Access table with datetime column in Where clasuse Pin
pnslcs22-Apr-07 12:27
pnslcs22-Apr-07 12:27 
AnswerRe: Trying to update MS Access table with datetime column in Where clasuse Pin
Colin Angus Mackay22-Apr-07 12:47
Colin Angus Mackay22-Apr-07 12:47 
GeneralRe: Trying to update MS Access table with datetime column in Where clasuse Pin
pnslcs22-Apr-07 15:20
pnslcs22-Apr-07 15:20 

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.