更改数据库脚本编码为UTF-8

This commit is contained in:
Argo-Lenovo 2016-11-11 13:07:17 +08:00
parent e1280f71e1
commit 0f66ef9d6c
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
SET ANSI_NULLS ON
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
@ -127,11 +127,11 @@ BEGIN
-- Insert statements for procedure here
if @userName = '' or @userName is null
select n.*, d.Name as CategoryName, ln.Name as ParentName
from Navigations n inner join Dicts d on n.Category = d.Code and d.Category = N'菜单' and d.Define = 0
from Navigations n inner join Dicts d on n.Category = d.Code and d.Category = N'菜单' and d.Define = 0
left join Navigations ln on n.ParentId = ln.ID
else
select n.*, d.Name as CategoryName, ln.Name as ParentName
from Navigations n inner join Dicts d on n.Category = d.Code and d.Category = N'菜单' and d.Define = 0
from Navigations n inner join Dicts d on n.Category = d.Code and d.Category = N'菜单' and d.Define = 0
left join Navigations ln on n.ParentId = ln.ID
inner join (
select nr.NavigationID from Users u
@ -178,7 +178,7 @@ CREATE PROCEDURE [dbo].[Proc_SaveUsers]
@passSalt varchar(max),
@displayName varchar(max),
@description varchar(max),
--type=0type=1
--type=0type=1
@type varchar(max)
WITH ENCRYPTION
AS