prisma1 icon indicating copy to clipboard operation
prisma1 copied to clipboard

MS SQL Connector

Open marktani opened this issue 7 years ago • 71 comments

This feature requests serves as a central place to discuss development and progress for the MS SQL connector.

marktani avatar Jan 16 '18 13:01 marktani

When you can expect a working connector to Ms SQL ??

SebaBoler avatar Jan 30 '18 18:01 SebaBoler

I need this too

iamgmd avatar Jan 31 '18 03:01 iamgmd

Hey @SebaBoler and @iamgmd, thanks a lot for your interest in the MS SQL connector 🙂 I would love to hear your thoughts on specific use cases you'd like to be covered, and an initial suggestion for the SDL syntax and exposed capabilities.

You can read more contributing to a DB connector here.

marktani avatar Jan 31 '18 20:01 marktani

Super excited about this, though I will probably fall back on the hosted platform as I'm getting tired of managing everything - the NET community is ~desperate for a GraphQL API interface to SQL Server.

jakenuts avatar Feb 17 '18 15:02 jakenuts

I noticed MS SQL was missing on the main README: https://github.com/graphcool/prisma.

Sawtaytoes avatar Feb 21 '18 22:02 Sawtaytoes

+1

nadilas avatar Mar 18 '18 08:03 nadilas

+1

jurby avatar Mar 18 '18 23:03 jurby

I waiting for this

boverdrive avatar Mar 19 '18 08:03 boverdrive

I need this badly

eabassey avatar Apr 11 '18 15:04 eabassey

Thanks a lot for your feedback everyone 🙂

If you have any thoughts in the spirit of what I mentioned above, I'd be happy to hear it! If you want to express your desire in this feature, please use Github reactions on the original post. Thanks! 🙌

marktani avatar Apr 11 '18 16:04 marktani

I really need this! Please make this happen!

edenprairie avatar Apr 16 '18 01:04 edenprairie

+1

felixti avatar Apr 23 '18 18:04 felixti

+1

albangiroux avatar Apr 24 '18 07:04 albangiroux

+1

killjoy2013 avatar May 15 '18 20:05 killjoy2013

There is a huge .NET community - by supporting MSSQL and writing some how-to's on deploying onto Azure I think you will capture some massive traction in the enterprise space - especially financial services.

develomark avatar May 17 '18 09:05 develomark

Big +1 on this. Regarding features even just reproducing the pgsql functionality would solve 90% of users needs.

BrianLondon avatar May 17 '18 15:05 BrianLondon

This is important because there are lots of enterprise organizations as @develomark mentioned, which use MS SQL and they will be able to start using Prisma (I'll be one who will suggest them to try), hope it will happen soon :) Also I'll take a look current connectors and I'll try to share something valuable about that.

One note here, if you will support azure sql, ms sql will be supported also, because azure sql is limited version of ms sql, but those limits will not have any effects for Prisma.

playerx avatar May 29 '18 07:05 playerx

I also would like to take a vote for a MSSQL connector to

  1. push Prisma/GraphQL to enterprise environments
  2. broaden the availabitly and compatibility of Prisma

Since I have become a user of MSSQL I must say it's a great DBMS and I would like to start a GraphQL project with some of our customers. Therefore I would like to have a solid development library that fits with SQL Server and is capable of using some more of the TSQL features and is not limited to a a really small subset of the SQL standard.

One could say to go with .NET/.NET Core but making Prisma available as a JavaScript solution to the market would propably also accell the need and use of full stack JS developers that could create products for big enterprise customers.

vuchl avatar Jun 18 '18 08:06 vuchl

hope this .

sytpb avatar Aug 06 '18 10:08 sytpb

When I execute 'prisma deploy' to a local MySQL instance, I get this error. What am I missing?

TypeError: Cannot read property 'name' of undefined at Socket. (C:\Users\Owner\AppData\Roaming\npm\node_modules\prisma\node_modules\pg\lib\connection.js:123:21)

Gary-Shurgin avatar Aug 29 '18 11:08 Gary-Shurgin

@Gary-Shurgin Not sure if your post is relevant in this thread as this one is related to wanting MS SQL in Prisma, nothing to do with MySQL.

iamgmd avatar Aug 29 '18 11:08 iamgmd

This connector should be shipped by default as soon as possible. Supported should be

  • Tables (of course)
  • Views
  • Stored Procedures (including result selection)
  • Table- and Scalarfunctions
  • Table Types

Popeye4242 avatar Sep 06 '18 09:09 Popeye4242

I think you can add support to this through the Microsoft SQLServer JDBC library ?

Code should be similar to what you have done with MySQL and PostgreSQL.

You might also need to consider supporting different versions : https://docs.microsoft.com/fr-fr/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix

Microsoft team has also been open-sourcing lot of stuff related to SQL Server lately, may be we can ask their help. Check out the Linux tools they have released:

  • https://github.com/Microsoft/mssql-scripter
  • https://github.com/Microsoft/sqlopsstudio

I am using these tool at work in a Linux / Scala environment with connection to Windows / SQL Server backends. But not using GraphQL for the moment.

mycaule avatar Sep 07 '18 16:09 mycaule

Would like to know whether the work on this has started or not? Dont see a branch for it either.

mii9000 avatar Sep 10 '18 06:09 mii9000

I need this so badly, at this moment I use TypeORM because of this, if we have MS SQL Server Connector, for sure I change for Prisma. Other project I develop I used PostgreSQL and MariaDB (MySQL),

PJCAfonso avatar Nov 28 '18 22:11 PJCAfonso

I notice there's some development on the JDBC connector. Having not worked on MSSQL for a long time, I have to ask if the JDBC connector allows use of MSSQL? Azure SQL?

Verikon avatar Jan 18 '19 15:01 Verikon

Anyone have an update on this? I would like to help contribute to the project if it's in active development.

doitlikepruett avatar Jan 29 '19 17:01 doitlikepruett

CRUD functions with API access would work at first. We would love to use Prisma. @marktani is there already something going on?

dnikl avatar Feb 02 '19 15:02 dnikl

You can read more contributing to a DB connector here.

404

dnikl avatar Feb 03 '19 10:02 dnikl

It will be great to have it.

exonianp avatar Feb 12 '19 13:02 exonianp