Posts by Welricsson • 11 points
4 posts
-
0
votes1
answer75
viewsA: How to add a description in the column?
Hi, Matheus. All right? I have no experience with First Migration, but maybe I can open up the possibilities. In SQL Server this type of information is stored in an Extended Properties table. In the…
-
0
votes1
answer21
viewsA: Sql server heritage in Procedure
Hi, Gilmar. All right? At first you could check if creating indexes can improve the performance of your views, if you haven’t seen it yet. Another way to solve it is to materialize the data of the…
-
0
votes1
answer42
viewsA: How to insert multiple email addresses within one variable, in SQL?
If you are using from version 2016 onwards SQL Server, just use the native function string_split. See below: DECLARE @email as NVARCHAR(max) SET @email =…
-
1
votes1
answer32
viewsA: Error formatting ZIP with Format() function
The function FORMAT accepts only numeric types and date types. You could do so: DECLARE @cep int = 23574510; SELECT FORMAT(@cep,'#####-###') AS [CEP]
sql-serveranswered Welricsson 11