Questions tagged as 'sql-server-2014'

1
answer

SQL SERVER EXPRESS 2014 ERROR (Microsoft SQL Server, error 1225)

Good morning, fine, guys? Next work with database, and we have some problems with SQL SERVER 2014 x64 in Windows 10. I am doing the installation normally and changing the network configuration, in TCP / IP, to a specific port that we use....
asked by 28.10.2016 / 13:47
1
answer

Error starting PowerShell in Windows Server 2008 R2. How to solve?

I have installed SQL Server 2014. When I start PowerShell on Windows Server 2008 R2 and do the "sqlps" command to test, this error occurs which shows in the image below ... On another computer, with windows 7 and the same version of SQL Serve...
asked by 20.08.2015 / 21:25
4
answers

How to create mirrored temporary table in another

Is it possible to create a temporary table that is mirrored in another? Example: Let's say I have in my bank a table with 60 fields. I would like to create a temp named #tabela with the same structure as the table in the database, but wit...
asked by 19.04.2017 / 14:04
2
answers

If an int variable does not receive anything from the select it is zero or not

Let's say I have this block: declare @teste int declare teste_cur cursor for select campo1 from tabela ..... while @@fetch_status = 0 begin set @teste = 0 select @teste = campo1 from tabela where campo2 = condicao2 end ..... If the sele...
asked by 25.04.2017 / 13:18
2
answers

My software in C # with SQLEXPRESS database LocalDB does not open on another PC, even installing all dependencies

1 - My software in C # with SQLEXPRESS database LocalDB does not open on another PC, even installing all dependencies. NOTE: In my PC Development works perfectly. 2 - Programs that I have already installed on the Client: Microsoft SQL Server...
asked by 23.03.2018 / 21:40
1
answer

Change time in sql server 2014

Good morning, as can be seen in the image below, I made a select to get the current date and it is at +3. How can I change this date / time?     
asked by 20.06.2016 / 15:52
1
answer

When choosing a company to connect to the Database

Aguem could help me I'm doing a project to deliver this year in college in 4 layers I have a login screen and when I type user and password I choose the company that I should work example Company A, Company B, Company c, in sql server I have 3 ba...
asked by 08.01.2016 / 00:13
2
answers

Schema permission on a specific user

I created a default database and created some schemas within this database. I created users for each schema, now I want to give full permission to each user in their schema only, how should I do?     
asked by 05.10.2015 / 19:26
1
answer

Recover customer orders 1. Duplication ERROR

My code: SELECT Pedido.NumPedido , Pedido.CdCliente , Cliente.Nome , Produto.CdProduto , Produto.Descricao , PedidoItem.Quantidade , PedidoItem.ValorUnitario , PedidoItem.ValorTotalItem FROM Cliente...
asked by 12.06.2018 / 15:18
2
answers

Bring the count of the word "DATA" of a calculated column in SQL Server

Good morning, I have a query that brings in a calculated column the information of "Data" and "Historicos", in this column I have the Prefix of the item (vehicle license plate) and the column with its calculation. I need to change this query so...
asked by 07.07.2017 / 20:29