tabla correcta

This commit is contained in:
2021-01-27 14:46:22 -06:00
parent 5d0dbe0fbc
commit a0db61fafa
+8 -5
View File
@@ -11,10 +11,13 @@ const db = new Sybase(
db.connect((err) => {
if (err) return console.log(err);
db.query('select * from alumnos', function (err, data) {
if (err) console.log(err);
db.query(
'select * from servicio_social where cuenta = 315182934',
function (err, data) {
if (err) console.log(err);
console.log(data);
db.disconnect();
});
console.log(data);
db.disconnect();
}
);
});