All Questions

3
answers

How can I fix error 40 when connecting the local server in sql Server

This is the error that ne comes up: TITLE: Connect to Server ------------------------------ Cannot connect to DESKTOP-1N1OK6F. ------------------------------ ADDITIONAL INFORMATION: Error relacionado con la red o específico de la instancia...
asked on 25.01.2016 / 01:19
1
answer

What is the '' operator used for in Java?

I have a problem with the use of the character '> >' I would like to know what function actually fulfills what it does considering something like: System.out.println(5>>1); the result is 2 but why ?, I understand that i...
asked on 09.08.2017 / 15:13
4
answers

Query in MYSQL DATETIME ()

I have a database in which the packages of some clients are stored and the date of creation of said package. I need to check out how many packages a client makes each day in a month. I've tried with SELECT distinct fecha_creacion FROM paque...
asked on 25.10.2017 / 11:31
3
answers

Difference between declaration of structs

1st code: #include <stdio.h> #include <string.h> #include <stdlib.h> struct{ int edad; char *ptr; }hola; int main(){ hola.edad=2; printf("%d\n",hola.edad); hola.ptr=malloc(5); strcpy(hola.ptr,"Hola"...
asked on 11.05.2018 / 13:30
2
answers

Operation of the delete operator in C ++

I do not understand how the delete operator works in this function since std::cout << datosCli[0] << '\n'; , which is executed after delete[] datosCli; , continues to print the String on the screen. Should not you lose th...
asked on 30.10.2018 / 23:56
3
answers

How to convert varchar to datetime in SQL Server?

Good day to all, I want to convert this data 14 de Febrero 1986 in sql to datetime , but%% of% CONVERT(datetime,fecha_nacimiento) It does not convert it. Is there any way to convert it?     
asked on 02.05.2018 / 16:43
2
answers

Add two variables in MASM Assembler

I have a question about the sum in records for MASM Assembler TITLE Suma variables INCLUDE Irvine32.inc .data a dword 10000h b dword 40000h valorFinal dword ? .code main PROC mov eax,a ; empieza con 10000h add eax,b ; suma...
asked on 17.02.2016 / 17:38
2
answers

Extract date within a SQL SERVER text string

I have the following string: Un texto cualquiera 22/12/2016 fin texto I'm trying to get the position of 22/12/2016 with the PATINDEX function: SELECT PATINDEX('__/__/____', 'Un texto cualquiera 22/12/2016 fin texto');...
asked on 03.10.2016 / 18:54
3
answers

Get the property of an object if I have the name of the property as string

I have an object of objects. Represents each programming language and its respective color (source: github ): colors = { '1C Enterprise': { 'color': '#814CCC', 'url': 'https://github.com/trending?l=1C-Enterprise' }, 'ABAP': {...
asked on 18.01.2018 / 15:40
1
answer

How to implement a conf file using Python

I need to implement a configuration file of those used in Linux / Unix, to be able to access from a Python application. For example, given the file.txt file that contains: # Hora inicio hora_ini 14:00 # Hora final hora_fin 22:00 I need my...
asked on 10.02.2016 / 17:09