Questions tagged as 'sql-server'

1
answer

Concaten fields from a subquery

I have the following query in sql sever 2014 CREATE TABLE #TEMPTABLE ( ID INT, DATACOLUM VARCHAR(5) ) INSERT INTO #TEMPTABLE VALUES (1,'A'),(1,'B'),(1,'C'),(2,'D'),(3,'E'),(4,'F') SELECT TB.ID, STUFF((SELECT ',' + D...
asked by 24.05.2017 / 19:18
1
answer

Edit DATATABLE of JQUERY

I have a DataTable filled with a query, the problem is that in the database I do not have as many zeros as it shows in DataTable How can I remove them? In addition to this how can I edit some characteristics of DataTable...
asked by 29.07.2016 / 18:56
1
answer

How to add +1 one to a Name in case of repeated registration?

I have a column called NOMBRE . In this there are three patients called "Juan". What I want is to distinguish them by adding a number followed after their name. Something like this: Juan1 Or if there were 30252 records called Juan, pu...
asked by 16.09.2016 / 06:05
1
answer

Use variable data source SSIS data flow

In SSIS, I have a variable that takes the value of a query defined in a component "Execute SQL Task". The value of the variable is assigned correctly. What I want to do next is within a "Data Flow", using an "ADO origin", where the query is defi...
asked by 29.09.2016 / 09:34
1
answer

How to make a report with Crystal Report and Visual Studio 2013 Ultimate?

I need help, I'm making a connection to a SQL-Server 2012 database and visual studio 2013 and I want to make some reports with Cristal report but I do not know how to start, since I've never used that tool!     
asked by 30.10.2016 / 22:54
1
answer

Migrating from an Oracle Database to SQL Server with the SQL Server Migration Assistant

I am trying to migrate an Oracle database to SQL Server with the SQL Server Migration Assistant. Create the project and then when I connect to my Oracle databases I collect all the information and all the schemas are brought. There will be some...
asked by 28.10.2016 / 00:20
1
answer

Import Bacpac from Azure to SQL Server 2012

I am importing a bacpac that I generated from the portal of Azure to a SQL Server 2012 local and I get the error that I detail next. Do you know how I can fix it so that the package is imported correctly? TITLE: Microsoft...
asked by 23.05.2016 / 09:26
3
answers

Insert journal in SQL Server with data from another table in another server

I have to do a SQL Server 'job' scheduled for every day at 10 in the morning. The Work would be based on dump the data of a table of a database of a server in other 2 tables (with operations of by means) in another database of another server....
asked by 11.05.2016 / 10:25
2
answers

Search by date in PHP

Good morning, I have the following query that makes me a query by dates to SQL SERVER: $query="SELECT art_Clave, art_Costo, kar_Fecha, kar_Cantidad, kar_Origen, alma_Existencia FROM tArticuloKardex WHERE art_Clave='".$buscar."' AND...
asked by 24.05.2016 / 18:16
1
answer

Filtering in ComboBox in VB.NET and SQL Server

I have a database in SQL Server and I am doing the inserts and updates to the database using the SQL Server syntax. The request is, if someone can give me a code on how to filter a table at ComboBox and as the user typing the name, the...
asked by 09.03.2016 / 06:04