Tagged Questions
3
votes
1answer
200 views
“Thread was being aborted” error when inserting 25k rows
I need to store about 25k rows worth of data into a single table about once a week. To achieve this, I'm creating an object (created from parsing XML), and sending the data within that object to a ...
13
votes
2answers
328 views
Setting up a central CLR stored procedure / function respository library for internal stored procs in other databases to use?
I would like to use code that I developed in C# CLR to be used in all of the databases on the system so that I don't have to set each to trustworthy and turn CLR on and keep a bunch of the same code ...
4
votes
2answers
109 views
why SELECT is still using CPU & DiskIO?
I have a large database, about 30GB. In order to delete some data from a table (most data is in this table, simply because the # of rows), I have to do delete in batch. However, if I delete in too ...
3
votes
1answer
361 views
Daily database maintenance using SQL Server 2008 and a stored procedure
I have created a database maintenance plan using wizard though that link for SQL Server 2005.
I have created a Maintenance Plan for SQL Server 2008 and it works fine.
Now I required to complete the ...
2
votes
0answers
158 views
going from heirarchical XML to heirarchical SQL tables then SQL to c# objects to go to user view, how should I store the data in the databases?
Hi I'm getting my data from a web service using their getData call and it comes in as fairly chunky heirarchical XML, first everything all at once, like
<allData>
<product1>
...
2
votes
1answer
180 views
How would you implement conversation groups/ locking for multiple users of a Service Broker Queue?
How do you implement conversation groups for multiple users using their own instance of the user applications but sending related messages to the service broker queue? Any good example of this kind ...
3
votes
3answers
2k views
Login to SQL Server using Windows Authentication
I have an (.Net Console App) EXE which connects to various SQL databases using SQL server Authentication with appropriate credentials.
Now there is change required in the EXE to use windows ...
2
votes
2answers
516 views
Trace unclosed connections
I get timeout errors every couple of days or so between IIS7 and an SQL 2008 Server. The error message I get is:
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to ...
6
votes
2answers
874 views
how will nvarchar(max) store data in database will it be fast if some data is less then 4000 characters?
I have to develop a CMS which will support two Language English, Arabic. This CMS will be a sort of Article Publishing site. While designing & analysis i found that some articles are more than ...
1
vote
3answers
644 views
Local user login access in sql server 2008
I have a created a local user called 'MynetDB' with SQL Server Authentication (password) in SQL server 2008. Server roles is public and user mapping to 2 databases as db_owner and public. Status has ...
13
votes
3answers
195 views
How can I guarantee that inserts to SQL Server 2008 R2 are cached in RAM first?
Imagine a stream of data that is "bursty", i.e. it could have 10,000 events arrive very quickly, followed by nothing for a minute.
Your expert advice: How can I write the C# insert code for SQL ...