Viewing 15 posts - 20,251 through 20,265 (of 22,197 total)
I'm not entirely sure I understand the question, but I'll take a shot.
You can export the entire schema to a single SQL file. Then you can use a third party...
June 2, 2008 at 8:40 am
Yeah, I've seen SINGLE_USER fail too. There is a lag, however tiny, between that GO statement and the next statement in the batch. It only takes one connection to muck...
June 2, 2008 at 8:37 am
mailsar (6/2/2008)
I am in the process of creating few tables and indexes. I am creating a vendor table and a service table. The Vendor and service...
June 2, 2008 at 8:27 am
This works, but be careful, it will cause data loss to open transactions.
ALTER DATABASE [dbname]
SET SINGLE_USER --or RESTRICTED_USER
WITH ROLLBACK IMMEDIATE;
GO
DROP DATABASE [dbname];
GO
June 2, 2008 at 8:20 am
What about a constraint or a rule? Something seems to be affecting the PK or reaching out to these other tables. I just did a couple of tests. I can...
June 2, 2008 at 7:34 am
In addition to the trigger, are any of the columns affected by the update statement (or by the trigger) part of the primary key of the table? If so, you're...
June 2, 2008 at 7:01 am
Are you running more than just SQL Server on the box? That will likely lead to problems later. SQL Server tends to use quite a lot of memory and processor....
June 2, 2008 at 6:53 am
I'd work on making adjustments to the code or the application server so that it doesn't make these types of calls. They shouldn't be required and there's probably a way...
June 2, 2008 at 6:49 am
As Jeff and the others have already said, no, you don't need to put these abbreviations, or any others, in front of the views and stored procedures. However, I'll give...
June 2, 2008 at 6:42 am
SQL Prompt does take some practice to get used to it being involved with your TSQL. I've gotten rather good at hitting the 'Esc' key when I know it's just...
June 2, 2008 at 5:26 am
Really, never?
I find the percentage of the batch to be a pretty useful guide most of the time. Not all of the time, no, but more often than not.
June 2, 2008 at 5:20 am
Transactions on databases are generally short. Actually they should be as short as possible most of the time. That means a small entry in the log. That log gets truncated...
May 30, 2008 at 12:34 pm
Not as such, no. I was just trying to get an understanding of how things were configured. If you're truncating on checkpoint, uh, I mean, in simple recovery mode, then...
May 30, 2008 at 11:14 am
Purists are going to say at the database. I've mostly seen it done at the application level. You just have to make sure that the developers are with it enough...
May 30, 2008 at 10:27 am
Viewing 15 posts - 20,251 through 20,265 (of 22,197 total)