Is NHibernate supported on SQL Server 2005 Express? - nhibernate

I want to use SQL Server 2005 Express as database. Will NHibernate be supported with it?

Yes. Use:
Driver - NHibernate.Driver.SqlClientDriver
Dialect - NHibernate.Dialect.MsSql2005Dialect

It seems it is supported.
A tutorial ( https://web.archive.org/web/20130926011158/http://www.svendtofte.com/serverside/setting-up-nhibernate-20/ ) goes over setting up NHibernate and uses SQL Express 2005

Related

Is IS_ROLEMEMBER available in SQL Server 2012 or 2008R2

Are these functions available in SQL Server 2012 or older?
select IS_ROLEMEMBER ('db_owner');
select IS_SRVROLEMEMBER ('sysadmin');
I can not find any compatibility information in the online documentation here: https://learn.microsoft.com/en-us/sql/t-sql/functions/is-rolemember-transact-sql?view=sql-server-ver15
Is_RoleMember was introduced in SQL Server 2012.
Is_SrvRoleMember was introduced in SQL Server 2005 itself.
You can see when a particular feature was introduced by going through below links. These changes are coming under Database Engine Enhancements => Database Engine Security Enhancements
What is New in SQL 2005
What is New in SQL 2012
To see all the historical information about SQL Server versions, below link is very helpful: https://www.sqlshack.com/history-sql-server-evolution-sql-server-features/

Linked Oracle and SQL Server 2008

i have 2 server.
one using Oracle database and other using SQL Server 2008.
how i can link that server?
can anyone give me solution?

Can I create an in-memory table in SQL Server 2012?

is there any possibility to create a database or table with "in-memory" option using SQL Server 2012?. I've been reading about that and I can use that option but working with SQL Server 2014 and still don't know if 2012 is capable to do that.
Anny help appreciated
No, the In-Memory Optimization was introduced with SQL 2014.

details of CreateSqlQuery( )

I am new to Hibernate and I need help/answers for few doubts.
1) I am using Oracle 10g dialect and If I use Session.CreateSqlQuery("Oracle syntax SQL Query");
My Question: If I change my dialect to SQL Server 2008. will the query which I have created by using CreateSqlQuery() changes/run's on SQL server 2008.?
or Do i need to change the Query once again.
Thanks & Regards,
Anand.
You need to specify the dialect of SQL server 2008.
It is database dependent.You cannot use same dialect for both databases

AES/Rijndael implementation for SQL Server 2000?

Do you know any function implementation I could use for decrypting data encrypted by AES/Rijndael in SQL Server 2000?
xp_crypt might do it
Without the CLR and other whizzy stuff in SQL Server 2005+ it will be difficult in the raw SQL available in SQL Server 2000.