SQL MObile

G

Guest

Hi Folks,

Is it possible to write triggers for SQL Mobile? I'm using VS2005. I was
hoping the DataSet designer may allow triggers to be developed? Or is there
some other way to write triggers?

Thanks very much for any tips,

Cheers!
 
J

Jesse Houwing

Hello davebythesea,
Hi Folks,

Is it possible to write triggers for SQL Mobile? I'm using VS2005. I
was hoping the DataSet designer may allow triggers to be developed? Or
is there some other way to write triggers?

Sql Mobile or Sql Compact Edition do not support Triggers, Stored Procedures
or any other fancy programming features. It is a database at heart.
 
G

Guest

Hi Jesse,

Thanks for the answer. So no triggers or stored procedures ;-( Ok cool.

Cheers!
 
F

Fred

Dans : davebythesea disait :
Hi Jesse,

Thanks for the answer. So no triggers or stored procedures ;-( Ok
cool.

worse, IMO : no batches commands with SqlCeCommand and no output
parameters.
 
G

Guest

The next best thing to Stored Procedures is to use paramerterized queries
coupled with the DataReader class for performance reasons.

In terms of triggers not being supported in Microsoft SQL Mobile, you'll
need to write your BLL/DAL to emulate this. Subscribe and raise events when
some event occurs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top