Questions tagged as 'sql-server-2008-r2'

0
answers

How to end my registration if I already have the exit hr, in order to start a new e / s registry?

Hello Good morning I hope and you can help me please I need your help, I am new in programming and the truth still costs me to program. I have a project where I make entry and exit records through a scanner using the barcode. My problem is that...
asked by 15.05.2018 / 15:16
0
answers

Recover foreign key when making an insert from c # and sql

I have a problem when making a record of entries and exits of equipment, when doing an insert of my table Registro_Eq apparently I am not recovering correctly the data of my foreign key or maybe some step before inserting I am wrong. Someone cou...
asked by 18.05.2018 / 18:48
1
answer

Why can not I connect to SQL Server?

I try to connect to a local database with the connection string that offers Visual Studio in the object browser SQL . The code is as follows: private void Form1_Load(object sender, EventArgs e) { SqlConnection myCon = new S...
asked by 04.05.2018 / 22:09
1
answer

Help with field Balance in a table type view

I have a table with these fields: I need to create a table of type view where there is an additional column called Balance. The function of this column is to add or subtract the value of the column amount based on whether the value of N...
asked by 24.04.2018 / 17:39
1
answer

Add or subtract one column based on the value of another and making cut by ID

I have a table called Registers with this structure: What I do is add a new column to the right where a balance is going to be calculated (either add or subtract) based on the value of each record in the Concept column; something like t...
asked by 24.01.2018 / 00:31