文章分类 - Database
摘要:Declare @Id Int Set @Id = 1; With RootNodeCTE(cId,cName,cParentId) As ( Select cId,cName,cParentId From dbo.tbCustomer Where cId In (@Id) Union All Select tbCustomer.cId,tbCustomer.cName,tbCustomer.cParentId From RootNodeCTE Inner Join tbCustomerOn RootNodeCTE.cId = tbCustomer.cParentId ) Select ...
阅读全文
摘要:最近发现自己的数据库出问题了,老是不启动,一打开配置管理器就看到解决方案:原来是安装了2012VS的问题。有一个程序:MicrosoftSQLServer 2012LocalDB,卸载掉,这个世界清静了~~
阅读全文
摘要:想必很多同学也遇到这样的小问题...数据:ID NAME1 11 21 32 12 22 3效果:ID NAME1 1,2,32 1,2,3select ID, wm_concat(NAME) from tablegroup by ID
阅读全文
摘要:1.新建一个名为TEST表2.向TEST表中添加数据INSERT INTO TEST(STUDENT,COURSE,SCORE)select '张三','语文',78 from dual unionselect '张三','数学',87 from dual unionselect '张三','英语',82 from dual unionselect '张三','物理',90 from dual unionselect '李四','语文'
阅读全文
摘要:方案:1,开始-->cmd--->regedit2,然后找到路径 HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Services / Tcpip / Parameters3,新建 DWORD TcpTimedWaitDelay 45MaxUserPort 65534
阅读全文
摘要:(1)首先新建一个“PhysicalDataModel”类型的文件,然后点击“Database”->"Configure Connections",弹出窗口“Configure Data Connections”, 并选择"Connection Profiles"如下图所示: (2)点击进行新建一个mysql连接,出现如下窗口:填写连接相关信息,填写完毕后如下图所示:(上图相关信息填写需注意:<1>User name:和Password:为mysql数据库的用户名和密码;<2>JDBC driver jar files:为你
阅读全文

浙公网安备 33010602011771号