SQL Server
文章平均质量分 76
xxdxxd
Oracle,MySQL,Python,Unix-Like
展开
-
SQL SERVER数据库字典
1. 显示表结构 SELECT TOP 100 PERCENT --a.id,CASE WHEN a.colorder = 1 THEN d.name ELSE END AS 表名,CASE WHEN a.colorder = 1 THEN isnull(f原创 2008-10-06 15:21:00 · 566 阅读 · 0 评论 -
SQL Server 定时发送带附件的邮件
Create PROCEDURE [dbo].[job_AutoMail_xxd] ASBEGIN SET NOCOUNT ON;--获取数据truncate table Db_Name.dbo.Table_Nameinsert into Db_Name.dbo.Table_Name select * from openquery(Link_N原创 2008-10-07 17:26:00 · 3438 阅读 · 1 评论