Viewing 15 posts - 49,006 through 49,020 (of 49,566 total)
What we do is to insert the results of xp_cmdshell into a table then check the table for error messages.
It's not a perfect solution, as you have to do...
September 21, 2006 at 2:52 am
If autoshrink is on, switch it off. Autoshrink should never be on for a production database.
Other than the issue where you don't know when its going to shrink, and may...
September 21, 2006 at 12:21 am
It's just the excel formatting. Nothing wrong with the data
Highlight the cells, and apply one of the formats under date.
September 18, 2006 at 1:20 am
What error messages are you getting from the application when you try and connect?
September 18, 2006 at 1:00 am
Yes, but you need to find out what field is the pk and how the values for it are generated. It may be an autogenerated value, it may be a...
September 15, 2006 at 2:59 am
Once more with feeling. Don't take the primary key off unless you know exactly what you're doingf and exactly what the consequences will be.
It's there to ensure data integrity....
September 15, 2006 at 2:51 am
There's often a lag in stats update with large tables, even if autoupdate is on. I've seen it a few times on my 50+ million row tables.
Do an update stats,...
September 15, 2006 at 2:51 am
You'll have to look at the database structure to find what field is the pk, or ask someone who knows the system. You can see the db structure with Query...
September 15, 2006 at 2:31 am
It means that your stored procedures are taking too long to execute.
The connection from the web server has a timout set in it, if the server doesn't return results...
September 15, 2006 at 2:26 am
It means that you have a primary key on the table, a constraint that forces all values in a column to be unique.
Since you tried to insert duplicate values...
September 15, 2006 at 1:30 am
Insert into Service (GroupNo,ServiceCode,ServiceName,SystemNo,Upload,ControlNo)
SELECT 6,ServiceCode,ServiceName,SystemNo,Upload,ControlNo
FROM Service
WHERE GroupNo=1
The select takes all the records in Service that have a GroupNo of 1 (Where...)
The constant in the select clause (SELECT 6, ...) means...
September 15, 2006 at 12:57 am
Why? Sum ignores nulls. It will add up non-null values. The isnull around the sum is just incase the entire column is null or there are no records. That's the...
September 14, 2006 at 11:50 pm
Yes, and you have to join it as meny times as there are levels in the nesting.
Just a warning. It's not going to run fast. I'd recomend that you...
September 14, 2006 at 5:13 am
I think this will work. I've only done it 3 levels deep, but the principle's there and you should be able to extend it to as many levels as you...
September 14, 2006 at 4:48 am
Viewing 15 posts - 49,006 through 49,020 (of 49,566 total)