Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

SQLÊý¾Ý¿âÁ¬½ÓÓï¾ä

Ò»°ãµÄÔ¶³Ì·ÃÎʵÄд³ÉÕâÑù£º
Data Source=IP;Initial Catalog=Êý¾Ý¿âÃû;UserID=Óû§Ãû;Password=ÃÜÂë
±¾µØ·ÃÎʵÄд³ÉÕâÑù£º
Data Source=(local);Initial Catalog=Êý¾Ý¿âÃû;UserID=Óû§Ãû;Password=ÃÜÂë
Èç¹ûÊDZ¾µØµÄ£¬Í¨¹ýwindows×é¼þÑéÖ¤µÄ£¨Ò²¾ÍÊÇûÓÐÓû§Ãû£¬ÃÜÂëµÄ£©Ð´³ÉÕâÑù£º
Data Source=(local);Initial Catalog=Êý¾Ý¿âÃû;Integrated Security=True
Èç¹û²»ÊÇĬÈϵÄʵÀý£¬¼ÙÈçʵÀýÃûÊÇSQLEXPRESS£¬Ð´³ÉÕâÑù£º
Data Source=(local)\SQLEXPRESS;Initial Catalog=Êý¾Ý¿âÃû;Integrated Security=True
ExecuteReader
¼òµ¥¸ßЧµÄ£¬µ¥ÏòǰµÄÊý¾Ý²éѯ¡£·µ»ØÒ»¸öSqlDataReader¶ÔÏó
ͨ³£ÓÃÓÚ¶ÁÈ¡Êý¾Ý
ExecuteNonQuery
·µ»ØÒ»¸öintÀàÐ͵ÄÖµ£¬·µ»ØÊý¾Ý¿âÖÐËùÓ°ÏìµÄÐÐÊý¡£
ÓÃÓÚ¶ÔÊý¾Ý¿âµÄ¸÷ÖÖ²Ù×÷
ExecuteScalar
·µ»Ø¶Á³ö½á¹ûµÄµÚÒ»ÐеÚÒ»ÁÐ
 WorkflowIdled ʼþ
.NET Framework Àà¿â
WorkflowRuntime..::.WorkflowIdled ʼþ
¸üУº2007 Äê 11 ÔÂ
ÔÚ¹¤×÷Á÷ʵÀý½øÈë¿ÕÏÐ״̬ºó·¢Éú
static void Main()
{
    string connectionString = "Initial Catalog=SqlPersistenceService;Data Source=localhost;Integrated Security=SSPI;";
    using (WorkflowRuntime workflowRuntime = new WorkflowRuntime())
    {
        ExternalDataExchangeService dataService = new ExternalDataExchangeService();
        workflowRuntime.AddService(dataService);
        dataService.AddService(expenseService);
        workflowRuntime.AddService(new SqlWorkflowPersistenceService(connectionString));
        workflowRuntime.StartRuntime();
        workflowRuntime.WorkflowCompleted += OnWorkflowCompleted;
        workflowRuntime.WorkflowTerminated += OnWorkflowTerminated;
        workflowRuntime.WorkflowIdled += OnWorkflowIdled;
        workflowRuntime.WorkflowAborted += OnWorkflowAborted;
&


Ïà¹ØÎĵµ£º

¡¾×ª¡¿+¡¾Ô­¡¿SQL Server ÈÕÆÚº¯Êý£ºÄ³ÌìÊÇÐÇÆÚ¼¸

ÒªµÃµ½Ä³Ò»ÌìÊÇÐÇÆÚ¼¸£¬ÐèÒªÓõ½ SQL Server ÖеÄÈÕÆÚº¯Êý£ºdatename()¡£ ½ñÌìÊÇÐÇÆÚ¼¸£¬Àý×Ó 1£º 1: set language N'English'
2: select datename(weekday, getdate())
3: 
4: Wednesday
½ñÌìÊÇÐÇÆÚ¼¸£¬Àý×Ó 2£º

1: set language N'Simplified Chinese'
......

Java³ÌÐòÁ¬½ÓSQL Server

µÚÒ»£ºÒªÉèÖÃSQL ServerµÄTCP/IP·þÎñ
1) ´ò¿ªSQL Server Configuration Manager”,Ë«»÷“SQL Server 2005ÍøÂçÅäÖÔ£¬µã»÷“*** µÄЭÒé” (×¢Ò⣺***´ú±íʵÀýÃüÃû£¬ÀýÈ磺accpDBµÄЭÒé)
2) Ñ¡ÔñÓұߴ°¿ÚÖеēTCP/IP”ЭÒ飬ÓÒ¼üµ ......

How to use PL SQL Developer in Ubuntu

You can user PL SQL Developer in Ubuntu like in Windows:
1.download PL/SQL Developer for linux;
2.Install JDK berfore the next;
3.install the PL/SQL Developer;
4.goto the $PL/SQL Developer,run sh sqldeverloper.sh;
5.type the $JDK;
6.then the PL/SQL Developer will startup. ......

SQLÓï¾ä

ÏÂÁÐÓï¾ä²¿·ÖÊÇMssqlÓï¾ä£¬²»¿ÉÒÔÔÚaccessÖÐʹÓá£
¡¡¡¡SQL·ÖÀࣺ
¡¡¡¡DDL—Êý¾Ý¶¨ÒåÓïÑÔ(CREATE£¬ALTER£¬DROP£¬DECLARE)
¡¡¡¡DML—Êý¾Ý²Ù×ÝÓïÑÔ(SELECT£¬DELETE£¬UPDATE£¬INSERT)
¡¡¡¡DCL—Êý¾Ý¿ØÖÆÓïÑÔ(GRANT£¬REVOKE£¬COMMIT£¬ROLLBACK)
¡¡¡¡Ê×ÏÈ,¼òÒª½éÉÜ»ù´¡Óï¾ä£º
¡¡¡¡1¡¢ËµÃ÷£º´´½¨Êý¾Ý¿â
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ