Prev: Locking at delete statement(SQL2008)
Next: AIML
From: Justin Case on 28 Jun 2010 08:43 How do you control a motor via serial port? What language should I use?
From: Bob Barrows on 28 Jun 2010 09:23 Justin Case wrote: > How do you control a motor via serial port? What language should I > use? I don't know, but it certainly isn't possible with SQL Server ... http://lmgtfy.com/?q=How+do+you+control+a+motor+via+serial+port -- HTH, Bob Barrows
From: Erland Sommarskog on 28 Jun 2010 17:56 Bob Barrows (reb01501(a)NOyahoo.SPAMcom) writes: > I don't know, but it certainly isn't possible with SQL Server ... What? You can't control a motor with an engine? -- Erland Sommarskog, SQL Server MVP, esquel(a)sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
From: Dan on 29 Jun 2010 04:57 "Bob Barrows" <reb01501(a)NOyahoo.SPAMcom> wrote in message news:i0a7p8$c0a$2(a)news.eternal-september.org... > Justin Case wrote: >> How do you control a motor via serial port? What language should I >> use? > > I don't know, but it certainly isn't possible with SQL Server ... I beg to differ there Bob. If you can write a CLR that can call code (say a DLL) that can write to the serial port, it would certainly be possible. But then the question would be "why would you?" :) Hmm, maybe CREATE TRIGGER pourCoffee ON Beverages AFTER INSERT AS IF EXISTS (SELECT 1 FROM inserted WHERE Cup = 'Coffee') EXEC dbo.fnStartMotor :D -- Dan
|
Pages: 1 Prev: Locking at delete statement(SQL2008) Next: AIML |