annotate Data/Queries/Person_SelectAll.sql @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author |
cin |
date |
Fri, 28 Mar 2014 01:04:56 +0400 |
parents |
f990fcb411a9 |
children |
|
rev |
line source |
0
|
1 IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'Person_SelectAll')
|
|
2 BEGIN
|
|
3 DROP Procedure Person_SelectAll
|
|
4 END
|
|
5
|
|
6 GO
|
|
7
|
|
8 CREATE Procedure Person_SelectAll
|
|
9 AS
|
|
10
|
|
11 SELECT * FROM Person
|
|
12
|
|
13 GO
|
|
14
|
|
15 GRANT EXEC ON Person_SelectAll TO PUBLIC
|
|
16
|
|
17 GO
|
|
18
|