Questions tagged as 'sql-server'

1
answer

Solve Native error 25009 [duplicate]

Well, I get that error when it comes to opening the database, I checked the path and the database path is the correct C / Folder Database disk and that's where my database is located. sdf, how can I solve it thanks     
asked by 14.07.2016 / 16:25
2
answers

GROUP BY in SQLServer does not work the same as in MySQL

Let me explain: When I make a GROUP BY with MySQL, I can select fields that can not be grouped, as descriptions (varchars), and the result shows, of all the grouped values, the first one that I find. But now I find SQL Server and it tu...
asked by 27.04.2018 / 00:29
1
answer

Query in SQL Server without "WHERE"

I am creating some reports and I really have no problem with the following query, as you can see it is simple and runs well but I realized that forget to put the " where " and it still works correctly; I had never seen anything like it b...
asked by 31.08.2018 / 22:04
1
answer

SQL Server 2008 - Modify the option: "Modify the first x rows"

Dear, I would like to know if I can edit the option that appears when I right click on a table in a database in sql server 2008 "Edit the first 'x' rows". What I would like to modify is to show me the rows ordered by one of the fields that I...
asked by 12.12.2017 / 12:55
1
answer

Update with SQLServer DataSnap and Delphi

Dear, I have a problem when you want to update with SqlServer. I am developing a program with a DataSnap server and I have this problem when I want to update a field in the DBGrid. I know that the error is in the key field of the sql query o...
asked by 13.05.2018 / 16:08
2
answers

Procedure to delete a table

I did a stored procedure to delete a table if it exists that is passed by parameter, this is my code: create procedure CrearTabla @Tabla varchar (100) as if OBJECT_NAME(@tabla) is not null begin drop table @tabla end go But it...
asked by 06.11.2018 / 20:40
0
answers

Error in Sync Framework

Good day! I am creating a Bidirectional data synchronization application between a SQL Server Express and a remote server using the Sync Framework 2.1. The express is the client server and the remote is the server. When I provision the server fo...
asked by 24.02.2016 / 19:37
2
answers

Pass minutes in int format to HH: MM SQL format

I'm turning trying to pass an entire value to hh:mm format. So far I managed to do /60 , passing the rest to minutes and casting everything in string format so that I keep the : in the middle. But I would need it to be i...
asked by 16.02.2017 / 15:33
2
answers

Query on sql server?

I have a following query SELECT A.IdDepartment, A.IdParent, A.Localidad, A.Codigo, A.Nombre, A.Departamento, A.Fecha FROM VW_HORARIOS A INNER JOIN VW_DAY_WORK B ON A.Codigo = B.Codigo AND A.Fecha = B.Fecha GROUP BY...
asked by 25.01.2018 / 00:03
2
answers

Update table field from another [closed]

I have the following tables: USER usuario: id number, name varchar2 1 PEPE 2 LUCAS REPORT reporte: id number, usuario_id, owner varchar2 1 1 NULL 2...
asked by 22.11.2018 / 16:11