Questions tagged as 'sql-server'

2
answers

Join Various Results

Someone knows in sql server theme, how to join a result that gives me from 3 rows to a single row I'm using this query but it does not attach them to me in a single result, something when I do an XML result but with some function . SELECT ER...
asked by 17.01.2018 / 17:24
1
answer

Help with a code in ASP.NET [duplicated]

I hope you can help me with the following code that I have in visual studio, I am programming a user login, in asp.net with c # and it turns out that in my aspx form called PortalAlumons.aspx.cs I wrote the following code: protected void P...
asked by 03.01.2018 / 06:27
1
answer

Query sql server to delete an ID and a COLUMN

This I just invented and it does not work delete a.valor from persona a where a.Id = 3 How can I delete only 555     
asked by 19.12.2017 / 17:20
1
answer

insert data in two servers simultaneously [closed]

I have my server linked to another server, what I need is a stored procedure where at the moment of inserting data in a table of my server at the same time insert in another table of my linked server     
asked by 15.12.2017 / 05:08
1
answer

What is the correct syntax of a select in SQL SERVER (alias)?

What is the correct syntax in a select using SQL SERVER? SELECT columna FROM [basedatos].dbo.tabla AS tb WHERE condiciones O SELECT columna FROM basedatos.dbo.tabla tb WHERE condiciones Can you use aliases? Are brack...
asked by 23.01.2018 / 09:36
1
answer

how can I save data inside a table c #

How can I save data within a table according to the condition? this in my code: List<USUARIO> usuarioList = new List<USUARIO>(); //instanciar la tabla usuario int numDía = 0; DateTime diaAnterior = Date...
asked by 22.01.2018 / 15:08
1
answer

Delete Duplicate records in sql server [duplicated]

I have the following Query with which I get the number of times that is repeated every id_turner in my table rol_por_tercero . use DatabaseName select id_tercero,COUNT(*)CantidadRepetidos from rol_por_tercero group by id_tercero havin...
asked by 26.01.2018 / 21:28
2
answers

How to make the tag br / be recognized in html when it is returned from a database?

I am working in C # with MVC and I am saving text in SQL server but I need to do line breaks so I chose to include the <br/> tag to perform the jumps, from a view I made the insertion in the data base and another view I show that da...
asked by 25.11.2017 / 02:10
1
answer

Show certain data in a column

I have my next table called LIST with two columns: Id, and Name, in the Name column I have 4 data: Notes, Agenda, Authorization and Membership. public IQueryable Listar1() { return from titus1 in Contexto.LISTA...
asked by 25.11.2017 / 17:41
2
answers

SQL Network Interfaces, error: 26 when wanting to run a query from a WEB page

Greetings. I have been investigating the following error that appears to me when running a web page that I am programming in VS2013    Server error in the application '/'.       Error related to the network or specific to the instance whil...
asked by 28.11.2017 / 01:02