Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2023 10:13 AM
driver_manager = spark._sc._gateway.jvm.java.sql.DriverManager
connection = driver_manager.getConnection(mssql_url, mssql_user, mssql_pass)
connection.prepareCall("EXEC sys.sp_tables").execute()
connection.close()The above code works fine but however I am unable to capture the output Params from Stored Procedure
Can someone please share the snippet to capture output value
Labels:
- Labels:
-
Azure
-
Azure databricks
-
Stored procedure