Click here to Skip to main content
15,921,028 members
Home / Discussions / Database
   

Database

 
GeneralProblems building Query Pin
xfitr221-Feb-04 18:16
xfitr221-Feb-04 18:16 
GeneralRe: Problems building Query Pin
John Kuhn21-Feb-04 18:59
John Kuhn21-Feb-04 18:59 
GeneralRe: Problems building Query Pin
xfitr221-Feb-04 20:57
xfitr221-Feb-04 20:57 
GeneralRe: Problems building Query Pin
John Kuhn22-Feb-04 6:05
John Kuhn22-Feb-04 6:05 
GeneralRe: Problems building Query Pin
xfitr222-Feb-04 6:57
xfitr222-Feb-04 6:57 
GeneralRe: Problems building Query Pin
John Kuhn22-Feb-04 7:54
John Kuhn22-Feb-04 7:54 
GeneralRe: Problems building Query Pin
xfitr222-Feb-04 8:25
xfitr222-Feb-04 8:25 
GeneralTriggers in windows application ^_^!!! Pin
solostar***19-Feb-04 20:15
solostar***19-Feb-04 20:15 
hello

I have created a windows application with visual c++ 6.0 which connects to a database.
The application executes SQL queries and I want to set some triggers or the insert, update and delete queries.
However, Where should i place my triggers?

sDsn.Format("ODBC;DRIVER={%s};DSN='';DBQ=s",sDriver,sFile);
TRY
{
CDatabase ComboDatabase;
// Open the database
ComboDatabase.Ope(NULL,false,false,sDsn);

// Build the SQL statement
SqlCommand = "INSERT INTO BandSetting "
"VALUES('" + str25 + "'" ",'" + str1 + "'" ",'" + str2 + "'"
",'" + str3 + "'" ",'" + str4 + "'" ",'"+ str5 + "'" ",'"+ str6 + "'" ",'" + str7 + "'" ",'" + str8 + "'" ",'"+ str9 + "'" ",'" + str10 + "'" ",'" + str11 + "'" ",'"+ str12 + "'" ",'" + str13 + "'" ",'" + str14 + "'" ",'" + str15 + "'" ",'" + str16 + "'" ",'" + str17 + "'" ",'"+ str18 + "'" ",'" + str19 + "'" ",'" + str20 + "'" ",'"+ str21 + "'" ",'" + str22 + "'" ",'" + str23 + "'" ", + str24 + "'" ")" ;

ComboDatabase.ExecuteSQL(SqlCommand);
// Close the database
ComboDatabase.Close();
}

where do i put the trigger???
hope you guys can help me out on this! thanks (^_^!!)


GeneralRe: Triggers in windows application ^_^!!! Pin
Mazdak20-Feb-04 1:11
Mazdak20-Feb-04 1:11 
GeneralSQL / PHP Problem Pin
LOSTTWARE.com19-Feb-04 18:18
LOSTTWARE.com19-Feb-04 18:18 
GeneralMSDE Connection String Pin
monrobot1319-Feb-04 15:40
monrobot1319-Feb-04 15:40 
GeneralRe: MSDE Connection String Pin
Mike Dimmick20-Feb-04 0:15
Mike Dimmick20-Feb-04 0:15 
GeneralProblem in Joining Two Tables Pin
Touseef Afzal19-Feb-04 10:23
Touseef Afzal19-Feb-04 10:23 
GeneralRe: Problem in Joining Two Tables Pin
Edbert P19-Feb-04 12:43
Edbert P19-Feb-04 12:43 
GeneralRe: Problem in Joining Two Tables Pin
Touseef Afzal20-Feb-04 10:31
Touseef Afzal20-Feb-04 10:31 
GeneralRe: Problem in Joining Two Tables Pin
Edbert P22-Feb-04 17:41
Edbert P22-Feb-04 17:41 
GeneralTimeouts in C# Pin
19-Feb-04 5:49
suss19-Feb-04 5:49 
GeneralRe: Timeouts in C# Pin
Tom Larsen19-Feb-04 10:44
Tom Larsen19-Feb-04 10:44 
GeneralRe: Timeouts in C# Pin
Kwai Cheng Kane19-Feb-04 12:45
Kwai Cheng Kane19-Feb-04 12:45 
Questionneed sql query? Pin
murali_utr18-Feb-04 18:36
murali_utr18-Feb-04 18:36 
AnswerRe: need sql query? Pin
stefan b18-Feb-04 18:54
stefan b18-Feb-04 18:54 
GeneralRe: need sql query? Pin
murali_utr18-Feb-04 19:01
murali_utr18-Feb-04 19:01 
GeneralSimple Dataset Question... Pin
Verdant12318-Feb-04 16:45
Verdant12318-Feb-04 16:45 
GeneralRe: Simple Dataset Question... Pin
Gerald Leslie Jones19-Feb-04 18:59
Gerald Leslie Jones19-Feb-04 18:59 
GeneralRe: Simple Dataset Question... Pin
Verdant12319-Feb-04 19:06
Verdant12319-Feb-04 19:06 

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.