Viewing 15 posts - 256 through 270 (of 1,413 total)
Re: 170 MB
The SQL Server process in task manager does not show the real amount of memory it has. Since SQL Server is using AWE to allocate memory Windows in...
September 6, 2005 at 12:13 am
Take a look at the Hands-On Labs at MSDN.
September 5, 2005 at 8:42 am
Naturally, without indexes scans will be necessary, and then the unions will perform worse since two scans are required.
September 5, 2005 at 4:55 am
You'll need to create a table (normally a temp table) to hold the results. It must have the same number of columns, with correct datatypes and in the right order,...
September 5, 2005 at 4:51 am
Storing all datetimes in UTC is definitely the way to go. The client should be responsible for formatting the output as necessary, incl applying regional settings for timezones and DST.
Why...
September 5, 2005 at 3:55 am
Is the index a clustered index? If so my guess is that you have a lot of forward-pointers in it.
September 5, 2005 at 12:12 am
Note the WHERE clauses. If we where to select all the rows and just decide if firstname or surname should come first in fullname, then the union would be much...
September 5, 2005 at 12:09 am
Agree with Remi, this sounds weird for the database to handle. But if needed I would probably code it like this:
SELECT fullname FROM (
SELECT firstname + ',' + surname as...
September 4, 2005 at 12:47 pm
If the database is set to full recovery model, which is the default, the log will keep growing until you make a log backup. When the backup is done the...
September 4, 2005 at 12:15 pm
Can you not just unpin it? Don't know the exact terms for the user interface, but you can pin the windows to always show until you click the X as...
September 2, 2005 at 3:28 am
Use Enterprise Manager to generate a script for them, and then run that script against the other server.
September 2, 2005 at 3:20 am
In that situation IDENTITY should not be used. If it should ever be used.
September 2, 2005 at 3:18 am
No, the 'problem' is not solved by any of those methods. As Remi said above, the only way to guarantee a specific order of the results is to use ORDER...
September 2, 2005 at 3:12 am
Sorry, no idea exactly what the reason for this is. It could of course be a bug. But remember that the old system tables of SQL Server 2000 are no...
September 1, 2005 at 8:30 am
You can use either SQL Profiler or perfmon to see when files are grown.
Regarding 10% being right or wrong, the general advice is to not use autogrowth at all. Instead...
September 1, 2005 at 3:48 am
Viewing 15 posts - 256 through 270 (of 1,413 total)