Viewing 15 posts - 5,386 through 5,400 (of 14,953 total)
CLR that accesses the database uses the same query engine as anything else that accesses the database. It won't query any faster, insert any faster, etc. What it...
January 10, 2011 at 7:18 am
Are you familiar with inline queries?
You can break up an aggregate query with those.
This is a sample of how they look:
select ID,
(select sum(MyColumn)
from MyOtherTable
where...
January 10, 2011 at 7:13 am
I'd use VB.NET to create a text file, and then step through a dataset row by row and write the data into the file. It's pretty easy to do....
January 10, 2011 at 7:09 am
When I want that kind of security isolation, I separate by database, not by schema. Much easier to manage.
I'd have to see samples of the scripts you're using for...
January 7, 2011 at 2:23 pm
Then you'll need to escape the single-quotes in the parameter value. You do that by using two single-quotes in a row.
January 7, 2011 at 1:45 pm
I haven't tried mixing them to that extent.
Have you thought about running these in separate VMs or something like that?
January 7, 2011 at 1:43 pm
Sounds like a problem with the metadata for the database. Have you run DBCC CHECKDB on it?
January 7, 2011 at 1:41 pm
Honestly, I'd just take a look at the tools on Red Gate's site (link at upper right of this page, since they own SQL Server Central). They have a...
January 7, 2011 at 1:41 pm
You could probably pass the looping to one, but the gains will almost certainly be microscopic in the scope of the code.
A simple T-SQL while loop will probably be good...
January 7, 2011 at 1:38 pm
You need to put single-quotes around the values in your delimited list. Like this:
'value1','value2','value3'
January 7, 2011 at 1:35 pm
I'd say start with your business needs and work from there. If you want someone to design it for you, hire a contractor.
There are off-the-shelf products that do that...
January 7, 2011 at 1:33 pm
And don't bother allocating more RAM till you've checked those things.
If the waits are I/O related, or CPU related, then there's no point in allocating more RAM. I'm betting...
January 7, 2011 at 1:18 pm
Run the query Ninja posted. It might help to read the articles Steve linked. Start from there.
January 7, 2011 at 1:17 pm
The problem with xp_cmdshell is that, if the account privileges are set even slightly wrong, it allows all kinds of nasty things to be done to the server.
It can, if...
January 7, 2011 at 1:12 pm
Not that I know of.
Entity Framework doesn't allow you to control the options on the connection?
January 7, 2011 at 1:07 pm
Viewing 15 posts - 5,386 through 5,400 (of 14,953 total)