Viewing 15 posts - 6,046 through 6,060 (of 7,191 total)
Bill
Try this - doesn't need any IFs and does it in one line:
SET @end_date = COALESCE(@end_date, @start_date)
John
April 7, 2008 at 4:18 am
Nic
Yes, Task Manager isn't a reliable indicator of AWE memory. Try using the counters in Perfmon, or you should also find the same information in one of the dynamic...
April 3, 2008 at 8:20 am
Nic
I think with AWE you can't use dynamic memory, therefore you have to fix it at 4BG, say, and you should see it using that as soon as you've restarted...
April 3, 2008 at 8:11 am
You answered the question yourself. Set the /PAE switch in boot.ini and configure SQL Server to use AWE.
John
April 3, 2008 at 6:37 am
You could write your own aggregate function to concatenate the values, and then it becomes a simple GROUP BY query. Other than that, I can't think of any way...
April 3, 2008 at 2:26 am
Or, if your table looks like your second example, and not your first, then just create the table with T_VEHICLES as a computed column. Again, no triggers, but everything...
April 2, 2008 at 9:33 am
I think I see what's going on. You need to make sure that NT AUTHORITY\SYSTEM has permissions on the remote server. Either that or make a different login...
April 2, 2008 at 6:40 am
Try using brackets ([]) instead of inverted commas ("") to enclose your server name.
John
April 2, 2008 at 6:16 am
I would advise you not to shrink your logs regularly. Let them grow to whatever size they need to be and then leave them. You can reduce the...
March 28, 2008 at 5:41 am
I don't think you want to do it globally if it's just for SELECT statements. Just use the NOLOCK hint in queries that you don't want to lock the...
March 28, 2008 at 5:28 am
ben.ashton (3/28/2008)
March 28, 2008 at 4:20 am
Are your statistics up to date? If not, then the query optimiser might not be able to make the correct decision about what type of lock to take for...
March 27, 2008 at 10:39 am
Why is this a problem? If you want to select everything from a table, then you need a lock on the whole table. It doesn't matter whether that's...
March 27, 2008 at 8:16 am
Something like this:
INSERT INTO LOGLOG (destination, [content])
SELECT phonenumber, 'hello world'
FROM USERLIST
where OWNERNAME LIKE @name
John
March 27, 2008 at 5:23 am
Diann
Are you sure you need the join at all? From the data you've provided (which looks as if you've simplified it quite a lot), it appears that this will...
March 26, 2008 at 5:43 am
Viewing 15 posts - 6,046 through 6,060 (of 7,191 total)