Skip to content
Advertisement

SQLCMD or SQLPACKAGE on linux?

I am using ubuntu docker image as build agent on Azure Devops. I need to apply some DDL SQL scripts on Azure SQL DB. What tool I should use – SQLCMD or SQLPackage, or something else and why? Thanks in advance Answer So in order to install SQLPackage I followed this tutorial. It got installed, however it did not work

Why does this nostdlib C++ code segfault when I call a function with a thread local variable? But not with a global var or when I access members?

Assembly included. This weekend I tried to get my own small library running without any C libs and the thread local stuff is giving me problems. Below you can see I created a struct called Try1 (because it’s my first attempt!) If I set the thread local variable and use it, the code seems to execute fine. If I call

Why libtool runs ranlib for a static library installation?

I’m trying to understand why libtool runs ranlib when installing a static library. This is an example from the link: https://www.gnu.org/software/libtool/manual/html_node/Installing-libraries.html But, isn’t the index table already created and shouldn’t it be just a simple copy operation? I found running ranlib at the end of the copy redundant as the library already has an index. Thanks. Answer Back in the

Linux Shell Script – Mounting and Backing Up Files

I’m writing my first shell script. I want to check if a filesystem is mounted. If so, then backup the documents from my main drive to the backup that is mounted. If not, mount the filesystem, then backup the documents. I executed the script, yet all I got was a lot of text. It didn’t perform as I wanted. Did

Ctrl+backtick not working in Linux based terminals [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

Advertisement