Questions tagged as 'sql-server'

1
answer

Inner Join, multiple Inserts with multiple conditions

Well, it's the following, I do not understand where I should start, if I must first select the clients, I'm sure I'll use inner join or some joiner since it uses other help tables. I wanted help to understand how to do this query....
asked by 10.03.2015 / 13:48
1
answer

SQL Base Import to Azure

I have a database in SQL Server 2008 R2 with a size of 65GB, and I own it in .BAK as well. Is it possible to import this database into my azure account?     
asked by 12.02.2015 / 12:55
1
answer

Procedure If exists update else insert in table with SQL Server composite key

Hello. I want to synchronize a table with the Linked Server, however the problem is that the table has composite primary key, and I do not know how to do the check to fetch the record. Can someone please help me?! Thank you!     
asked by 09.04.2015 / 17:45
1
answer

Remove part without fixed size from an xml

Galera, I have this piece of XML and I need to remove the value (357122.40) that is between the < vMerc > xxxxxx < / vMerc > However, this value does not have a fixed size. ...<infCTeNorm><infCarga><vMerc>357122.4...
asked by 10.04.2015 / 20:15
1
answer

Crystal Reports Report DLL Error

I am trying to generate a report in 'Crystal' on my company's system programmed in VB6. However, the following error appears in the appendix. I researched this DLL, but the answers I got did not solve my problem. I'm waiting.     
asked by 24.02.2015 / 15:59
1
answer

sql database structure backup

Hi, I have several servers that I use in my development environment, but I would like to know if colleagues know of any tools or procedures in sql itself that I can only back up the databases framework. That is, if there is a disaster in this...
asked by 09.02.2015 / 12:55
1
answer

How do I install SQL Server together with the C # application created?

I have a C # project and need that when I create your installer it is also installed on the client machine SQL Server 2008. Would it be possible to do this?     
asked by 16.12.2014 / 20:20
1
answer

How to do this SELECT (SQL Server 2008)?

To be honest, I do not even know how to start my question. So I'll first put the information I have. I have the following structure in my database. I need to do a SELECT that returns me the following: How can I achieve this?   ...
asked by 08.01.2015 / 21:09
2
answers

Sort in recursive query

In another question I asked I had found a solution but the sort order works only if the ID's are growing: USE TESTE GO WITH Niveis AS ( -- Membro âncora SELECT Id, IdPai, convert(varchar(1000), Nome) as Nome,...
asked by 27.02.2015 / 16:06
1
answer

Replication of database in WPF + EF system

I have a sales system in WPF / EF that is in use in different cities, but the database is in headquarters. I'm having trouble when the city link is too slow, resulting in a slow sale. Can I do a replication of this my database to the local se...
asked by 05.03.2015 / 14:01