Any portable Database that supports procedures [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am creating a Desktop application in .Net for which I need a database which is
Portable i.e. like MS-Access
Have facility of stored procedures like SQL Server.
All the databases that I look for do not have both of this facilities. For e.g. MS Access and SQL lite do not support procedures and SQL Server do not support portability.
Or there are alternate databases having these two qualities?

You can try using Firebird RDBMS
Major features:-
Full support of Stored Procedures and Triggers
Full ACID compliant transactions
Referential Integrity
Multi Generational Architecture
Very small footprint
Fully featured internal language for Stored Procedures and Triggers
(PSQL)
Support for External Functions (UDFs)
Little or no need for specialized DBAs
Almost no configuration needed - just install and start using!
Big community and lots of places where you can get free and good
support
Optional single file embedded version - great to create CDROM
catalogs, single user or evaluation versions of applications
Dozens of third party tools, including GUI administrative tools,
replication tools, etc. Careful writes - fast recovery, no need for
transaction logs!
Many ways to access your database: native/API, dbExpress drivers,
ODBC, OLEDB, .Net provider, JDBC native type 4 driver, Python module,
PHP, Perl, etc.
Native support for all major operating systems, including Windows,
Linux, Solaris, MacOS, HP-UX and FreeBSD.
Incremental Backups
64bits builds available
Full cursor implementation in PSQL
Monitoring tables
Connection and Transaction Triggers
Temporary Tables
TraceAPI - know what happens in your server

Related

MSSQL Linux Server Issue: SQL Server only supports SAFE assemblies [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 may be able to be answered.
Closed 3 years ago.
Improve this question
We recently came across an issue when trying to register some custom SQL CLR assemblies we have created on SQL Server 2017 v14.0.3238.1.
First of all, these assemblies require that they have External Access Permission, as they call external APIs. It seems that this issue is only appearing when trying to run them on an MSSQL Server that is hosted on a Linux Environment.
In addition, we have tried creating asymmetric keys (both with SN.exe tool from Microsoft SDKs and through VS 2017) and also signing these CLR assemblies, without any luck. (Followed instructions as found on: https://techcommunity.microsoft.com/t5/SQL-Server-Support/Deploying-SQL-CLR-assembly-using-Asymmetric-key/ba-p/316727)
When trying to register the assemblies, we are receiving the error:
"Assembly 'Sample_CLR' cannot be loaded because this edition of SQL Server only supports SAFE assemblies."
Has anyone stumbled across a similar issue before?
This is documented in Unsupported features & services:
The following features and services are not available SQL Server 2019
on Linux. The support of these features will be increasingly enabled
over time.
Database engine
Merge replication
Stretch DB
Distributed query with 3rd-party connections
Linked Servers to data sources other than SQL Server
System extended stored procedures (XP_CMDSHELL, etc.)
Filetable, FILESTREAM
CLR assemblies with the EXTERNAL_ACCESS or UNSAFE permission set
Buffer Pool Extension
Emphasis mine
You can only use SAFE CLR functions on SQL Server on Linux. There is no work around, as it is a documented unsupported feature.

Which database management system for a local (offline) small software? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have spent a few days for implementation and testing some SQL-based database management system for my project. It's a small local shop management system, supposed to be sold to many of users and shop owners. It will be an offline system for owners and the staff of the shop, so we need to secure the database from unwanted accesses. I need a SQL database management system that works with .NET Winform (C#) EntityFramework and easy to build an installer package. These are what we have tried:
SQL server Express 2012: SQL database, free, works well with .NET and Entity Framework but pretty hard to build a perfect installer for users without having them to manually install SQL Server System on their computer and it doesn't protect the database from unwanted accesses.
Localdb: portable, free, works well with .NET and EF, easy to deploy, very reliable but again, not secure.
SQL Compact Edition: almost the same as Localdb, has its own password encryption feature for the database but has been deprecated, isn't stable enough and doesn't work really well with EF.
SQLite: just like SQL Compact edition.
SQL server 2016 Developer edition: same as SQL Server Express, plus the database encrytion (TDE), but I haven't figured out how to make a good installer.
There are tons of software like this out there, how did they solve these problems?
Looks like SQLite will suit your bill. Entity Framework does have an SQLite provider and the database itself requires no server software or other infrastructure to be set up, it’s literally just a file.
If you really want to make it secure, you could encrypt the entire database, but that would have certain memory and CPU requirements to work with. If you encrypt individual fields, the schema and individual fields will be visible. Foreign keys could be difficult with such setup.

ORM framework to legacy database without SQL support [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
We're going to start writing C# programs against a old legacy database from the early 1980s. There is no support for SQL or relationships, and communication with it is through Telnet commands.
I'm thinking of using some sort of ORM framework, or write my own. My question is if there is any good framework that is possible to easily adapt to these special conditions?
I want to be able to map the classes in my program against tables in the database and work with the database in a modern way, without having to think about the complex telnet commands and the translation of the returned information into something meaningful.
I find it hard to believe that such datasources have any usable adapters today. Think of what kind of operations you will need and construct an ORM with any commands you may require. Depending on structure and data this may vary in a lot of different ways. Some questions you may take along in this project are
Can we standardize CRUD operations or do we have to build a DTO api
Shall we be able to handle any binary data
What pattern shall we use in our C# code and will C# suffice
When it comes to DTO-Api's I like to implement CQRS (Command Query Responsibility Segregation, read this http://msdn.microsoft.com/en-us/library/jj591573.aspx). If you are constructing an ordinary CRUD-Api you will most likely have to separate your code differently and resolve each command type dynamically (if possible).
Feel free to e-mail me, you should be able to reach me in the corp-ad.

SQL Server Secure Communication [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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 may be able to be answered.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I am designing a C# application that will comunicate with na SQL Server for data keep/fetch.
This app is supposed to be used from within AND without the local network where the server will be (ie accross offices or even countries) so communicastion with the sever needs to be done over the internet.
I have setup a few tests and everything works well but now it's time to add security into the design.
With connections coming from the internet into their servers, my clientes will want the communication between the cliente app and the SQL server to be as safe as possible from net sniffers and such (ie, keep people from listening in to the data being transfered or worse, get server access)
I have read somewhere some time way back (can't find the link anymore) that SQL Server has na option for SSL connectio.
So my question is - Is this my best or even only option for security? Where can i find information/code samples on how to implement this?
Before anyone goes there - i have googled this but got no luck beyhond the information that an SSL connection option exists.
This seems to be a good article on SQL server security best pratices, it covers operative instructions and code examples.
Microsoft SQL Server Security Best Practices
I think that you have a bigger issue here with your application design though. How are you deploying and updating your apps? You probably want to have a server-side data access layer, possibly have business logic located on the server in a single location. I'd be looking at using WCF, possibly azure and web services with a thin client application.
Look into setting up encryption at the server using ssl and setting Force Protocol Encryption. Have a read of How to enable SSL encryption for an instance of SQL Server by using Microsoft Management Console
Also read this Enable Encrypted Connections to the Database Engine (SQL Server Configuration Manager)

Custom .NET Application Search Solution Needed [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
We are developing a custom .NET directory listing style application for a client and we require a powerful search solution. The application will be built in ASP .NET C# on SQL Server 08. The application is based around data which users to the organisation can enter in a profile management style area. Fields can be textboxes, textareas, selection boxes, multiselects etc. A user from the main website needs to be able to use the search function to find a result, but this result should search the entire database and not only base the results on one or two fields. It could be anything within any of the fields the user can fill out or select etc.
Can anyone help me find a possible solution for a .NET powered search engine we can use for this application? It must be preferably C#, running on .NET 3.5 and SQL Server 08. The database is a completely custom built schema and so there is no schema example to show or that can be shown.
If you need more information to provide a satisfactory answer let me know and I'll try to provide some more information specific to what you ask.
Thanks, Cian
Checkout Lucene.Net.
Lucene.Net is a source code, class-per-class, API-per-API and algorithmatic port of the Java Lucene search engine to the C# and .NET platform utilizing Microsoft .NET Framework.
You might want to check out Lucerne.NET, which is the search solution used by StackOverflow
In addition to Lucene .NET (which I've used and is very good), you could also consider SQL Server's Full-text search. This is also very powerful and if all the data you need to query is in the database is another good option for you - we used it for a large enterprise management system and it worked well for us.

Categories

Resources