Click here to Skip to main content
15,897,891 members
Home / Discussions / Database
   

Database

 
AnswerRe: Write SQL that will remove PK and set it to another column Pin
Harini N K15-Mar-07 19:04
Harini N K15-Mar-07 19:04 
QuestionChange schema, without destroying the data Pin
steve_rm15-Mar-07 18:13
steve_rm15-Mar-07 18:13 
AnswerRe: Change schema, without destroying the data Pin
Mark J. Miller19-Mar-07 5:53
Mark J. Miller19-Mar-07 5:53 
Questionthe database has been placed in state by user "Admin" Pin
charleslau285515-Mar-07 15:39
charleslau285515-Mar-07 15:39 
QuestionCreating a SqlDbType.SmallDateTime parameter Pin
digsy_15-Mar-07 8:08
digsy_15-Mar-07 8:08 
AnswerRe: Creating a SqlDbType.SmallDateTime parameter Pin
Marcus J. Smith15-Mar-07 9:35
professionalMarcus J. Smith15-Mar-07 9:35 
Questionerror of duplicate PK in subscriber database Pin
Rocky#15-Mar-07 6:14
Rocky#15-Mar-07 6:14 
QuestionAdd Multiple ColumnValue to a SingleColumn Pin
Sarfaraj Ahmed15-Mar-07 3:47
Sarfaraj Ahmed15-Mar-07 3:47 
AnswerRe: Add Multiple ColumnValue to a SingleColumn Pin
Marcus J. Smith15-Mar-07 4:26
professionalMarcus J. Smith15-Mar-07 4:26 
GeneralRe: Add Multiple ColumnValue to a SingleColumn Pin
Sarfaraj Ahmed15-Mar-07 4:47
Sarfaraj Ahmed15-Mar-07 4:47 
GeneralRe: Add Multiple ColumnValue to a SingleColumn Pin
Marcus J. Smith15-Mar-07 5:16
professionalMarcus J. Smith15-Mar-07 5:16 
GeneralRe: Add Multiple ColumnValue to a SingleColumn Pin
Sarfaraj Ahmed15-Mar-07 5:25
Sarfaraj Ahmed15-Mar-07 5:25 
GeneralRe: Add Multiple ColumnValue to a SingleColumn Pin
Marcus J. Smith15-Mar-07 5:31
professionalMarcus J. Smith15-Mar-07 5:31 
Questionsql server 2000 millisecond issue Pin
nickjoe9015-Mar-07 2:41
nickjoe9015-Mar-07 2:41 
AnswerRe: sql server 2000 millisecond issue Pin
Pete O'Hanlon16-Mar-07 2:15
mvePete O'Hanlon16-Mar-07 2:15 
Questiona loop that increments a value in the selection clause? Pin
Red_Wizard_Shot_The_Food15-Mar-07 2:30
Red_Wizard_Shot_The_Food15-Mar-07 2:30 
AnswerRe: a loop that increments a value in the selection clause? Pin
Marcus J. Smith15-Mar-07 3:00
professionalMarcus J. Smith15-Mar-07 3:00 
AnswerRe: a loop that increments a value in the selection clause? Pin
andyharman15-Mar-07 5:49
professionalandyharman15-Mar-07 5:49 
GeneralRe: a loop that increments a value in the selection clause? Pin
Marcus J. Smith15-Mar-07 6:10
professionalMarcus J. Smith15-Mar-07 6:10 
GeneralRe: Connecting SQL Server Express 2005 to remote database file Pin
BRShroyer15-Mar-07 2:27
BRShroyer15-Mar-07 2:27 
GeneralRe: Connecting SQL Server Express 2005 to remote database file Pin
Colin Angus Mackay15-Mar-07 5:33
Colin Angus Mackay15-Mar-07 5:33 
QuestionEnterprise Library Data access application block 2.0 Pin
saltcode15-Mar-07 1:36
professionalsaltcode15-Mar-07 1:36 
Hi guys,
Please help,I am having an issue with data access block connection to the database from my class library project.
using the data access block to connect to database works fine in my website project. but i try creating a separate class library project to connect to the database i now receive an error message.

"The value can not be null or an empty string."

and this is the code:

<br />
Database motomandb = DatabaseFactory.CreateDatabase();<br />
DbCommand motomandbCommand = motomandb.GetSqlStringCommand(query);<br />
<br />
using(DbConnection motomanConnection = motomandb.CreateConnection())<br />
{<br />
DbTransaction motomanTransaction = motomanConnection.BeginTransaction();<br />
try<br />
{<br />
rowsaffected = motomandb.ExecuteNonQuery(motomandbCommand, motomanTransaction);<br />
motomanTransaction.Commit();<br />
}<br />
catch (Exception e)<br />
{<br />
motomanTransaction.Rollback();<br />
}<br />
}<br />


thanks in advance
Questionhow can i store jpg files in sql or oracle (blob) Pin
Member 392135215-Mar-07 1:22
Member 392135215-Mar-07 1:22 
AnswerRe: how can i store jpg files in sql or oracle (blob) Pin
coolestCoder15-Mar-07 2:16
coolestCoder15-Mar-07 2:16 
AnswerRe: how can i store jpg files in sql or oracle (blob) Pin
Rocky#15-Mar-07 6:18
Rocky#15-Mar-07 6:18 

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.