unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Updating sql.el sql-ms functions to operate with sqlcmd
       [not found] <1090329874.1326368.1608247563124.ref@mail.yahoo.com>
@ 2020-12-17 23:26 ` Ryan Knauber
  2020-12-22 15:49   ` Nikolay Kudryavtsev
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Knauber @ 2020-12-17 23:26 UTC (permalink / raw)
  To: emacs-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

Hello,
I'm interested in migrating the Microsoft SQL Server portion of sql.el from "osql" to "sqlcmd". It looks like "osql" was deprecated a good while ago:https://docs.microsoft.com/en-us/sql/tools/osql-utility?view=sql-server-ver15https://docs.microsoft.com/en-us/sql/tools/sqlcmd-utility?view=sql-server-ver15
I have very little experience in Elisp and modifying Emacs so far, but I love it. I also use MSSQL regularly, and if I could chat with someone briefly about how to go about working the modification, I'd be happy to contribute.
Best regards,
-----Ryan Knauberhttps://github.com/recholsknauber
972-953-7654

[-- Attachment #2: Type: text/html, Size: 1687 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Updating sql.el sql-ms functions to operate with sqlcmd
  2020-12-17 23:26 ` Updating sql.el sql-ms functions to operate with sqlcmd Ryan Knauber
@ 2020-12-22 15:49   ` Nikolay Kudryavtsev
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolay Kudryavtsev @ 2020-12-22 15:49 UTC (permalink / raw)
  To: Ryan Knauber, emacs-devel@gnu.org

Sqlcmd has a very similar command line interface to osql and sql.el 
works fine with it. I think there was some minor incompatibilty in one 
or two args, but unfortunately I forgot to write it down.

Just in case, here's my working setup for sqlcmd:

(setq sql-ms-options (quote ("-W" "-s" "|" "-I"))
            sql-ms-program "sqlcmd")

So I think the work is pretty trivial - just play around with args until 
you settle down on a proper set of defaults and patch them in.

-- 
Best Regards,
Nikolay Kudryavtsev




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-22 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1090329874.1326368.1608247563124.ref@mail.yahoo.com>
2020-12-17 23:26 ` Updating sql.el sql-ms functions to operate with sqlcmd Ryan Knauber
2020-12-22 15:49   ` Nikolay Kudryavtsev

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).