sql-server-2008-r2
How can I enforce uniqueness on a NVARCHAR(MAX) column in SQL Server?
I have a column in S开发者_高级运维QL Server 2008 R2 that is NVARCHAR(MAX). I would like to set a unique index on that column, but the maximum size for a column that is included in a unique index is N[详细]
2023-03-22 19:58 分类:问答SQL Server 2008 - Delete data exclusively from stored procedure
I would like to stop power users from deleting data using SQL Server Management Studio. I need to archive data and add some info to the audit trail when data gets deleted.[详细]
2023-03-22 13:28 分类:问答Sync Famework: how to enable bulk insert/update/delete stored procedures in Hub and spoke model
I am using MS Sync framework 2.1 in hub-spoke model with SQL Server 2008 and bunch of SQL Server 2008 Express clients.[详细]
2023-03-22 10:57 分类:问答Dataimport into SQL server 2008 r2 EXPRESS from SQL Anywhere 11.0
Hello EveryoneIam trying to bulk insertdata from .dat file(unloaded from sybase) in to the开发者_Go百科 table i created.[详细]
2023-03-22 10:28 分类:问答Superscript greater than three does not work. Only one two and three available
I\'m querying a database and trying to get superscripts. The first three work fine, others don\'t though. What are the valid superscript characters for anything over three?[详细]
2023-03-22 07:48 分类:问答Can we add comments or a README file to a SQL Server database/table?
These days I am importing quite a lot of databases from my server and working on them locally. In 开发者_如何学Gothe process, I am making a number of changes to the table structure and in the process[详细]
2023-03-22 07:42 分类:问答What is database objects are needed for a Database Design in SQL Server 2008 R2?
I have a Visual Studio project where I have scripted out my dbo.sysdiagrams.When I deploy my project the whole database is dropped and recreated from the scripts I have.One of my post deploy scripts c[详细]
2023-03-22 03:48 分类:问答What's the best way to change hard coded database references in view definitions (SQL Server 2008 R2)?
I\'ve created local copies of a related set of databases by restoring the backup of one set from another server under different names.[详细]
2023-03-21 23:31 分类:问答Why are my SQL Server identity values being reused?
I have a table that I a开发者_如何转开发m using to queue information before it is sent off to another system (Dynamics CRM). I write information to that queue and another service comes along and write[详细]
2023-03-21 17:58 分类:问答How to use SQL to implement logic similar to making change?
The table Item has a field NUM_UNITS. idnum_units ----------- 12 24 31 47 For the above rowset, sum(num_units) = (2 + 4 + 1 + 7) = 14.[详细]
2023-03-21 06:28 分类:问答