English 中文(简体)
How to program a TRIGERT on Profite Manager
原标题:How to program a TRIGGER on SQLite Manager

我想起一个触发因素,在我的表格中,一个称为摘要的栏目是具体用语,它将更新一个栏目(在同一张桌上),叫作一个编号,我想是几个字。

是我有的,但做的是工作。

CREATE TRIGGER IF NOT EXISTS paulo  AFTER  INSERT ON tickets  
FOR EACH ROW  BEGIN 
if (summary) = quero mudar o ano 
 update id  set id= 2013000000 ;
END IF;
END;
问题回答

这一辛加税错误是,因为Kallite不允许《综合框架》条款出现在触发点。 http://sqlite.org/lang_createtrigger.html

  CREATE TRIGGER IF NOT EXISTS paulo  AFTER  INSERT ON tickets  
FOR EACH ROW  
WHEN (summary) = quero mudar o ano 
BEGIN 
 update id  set id= 2013000000 ;

END;

O Problema é que se você quiser comparar um outro valor será preciso criar uma outrastart, ja que não é possivel wear o ELSE FI.





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jQuery block moving

I wanna move a div block to the top, so I coded like this: CSS part: .movingPart{ margin-top:80px; } jQuery part: $(document).ready(function() { $( #btn ).click(function() { $( .movingPart )....

Private FireFox plugin

I m looking at getting a FireFox plugin developed - but is it possible to create a plugin that is for private use only, so only those I share it with have it and not open to the masses? Need this for ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Cross-browser development

I m developing a web application for a new service, starting from Firefox 3.5. The interface design is tableless, only using divs + CSS & performance-blessed practices. Now, while being ...

Cross browser way of setting IFrame to "about:blank"?

Does anybody know a proper, cross-browser way to "empty" an IFrame? Is "about:blank" recognized without error across all browsers? Is it valid to give an IFrame an empty src?

热门标签