Viewing 15 posts - 886 through 900 (of 920 total)
quote:
http://www.sqlservercentral.com/scripts/contributions/26.aspSteve Jones
http://www.sqlservercentral.com/columnists/sjones
The Best of SQL Server Central.com 2002 - http://www.sqlservercentral.com/bestof/
September 23, 2003 at 7:00 pm
Unless you override by using DBCC SHRINKFILE with the target size option, you cannot reduce the file size below its originally configured size. (The default size for the log...
September 23, 2003 at 6:52 pm
quote:
Funny you should ask. Turns out the biggest table, and the one I was working with did not have a clustered...
September 23, 2003 at 4:10 pm
This is the right approach to determining how many disks to configure. The correct number of drives has little to do with total capacity when optimizing a server for...
September 23, 2003 at 4:03 pm
quote:
I'm a little confused with respect to partitioned views.Let's say I have a series of tables that contain quarterly data (ie. Subscriber_2002_Q1,...
September 23, 2003 at 2:53 pm
quote:
Am I right?
Yes. Last time I calculated this, Ultra3 bus speed (160MB/s, not Mb/s)...
September 23, 2003 at 2:40 pm
September 23, 2003 at 2:18 pm
This has got to be dynamic SQL, so you could just try:
DECLARE @sql varchar(800)
SET @sql = 'SELECT AccountId FROM Ca' + ISNULL(' WHERE CSId in ('...
September 23, 2003 at 2:13 pm
Do not send concatenated code like that from VB. Use typed parameters for the values, preferably with stored procedures. That will not only prevent these issues, but it...
September 23, 2003 at 7:24 am
September 23, 2003 at 6:30 am
Other than collations (used for strings), the data in SQL Server is not stored in any region-specific format. Your application should use the regional settings of the workstation. ...
September 23, 2003 at 6:20 am
It's very hard to read your trigger pseudo code, particularly as it does not match your pseudo DDL. Based on your narrative, I suppose you want something like this:
CREATE...
September 23, 2003 at 6:02 am
This is in BOL (acdata.chm::/ac_8_qd_14_8k6m.htm):
CREATE PROCEDURE sp_hexadecimal
@binvalue varbinary(255),
@hexvalue varchar(255) OUTPUT
AS
DECLARE @charvalue varchar(255)
DECLARE @i int
DECLARE @length int
DECLARE @hexstring char(16)
SELECT @charvalue = '0x'
SELECT @i...
September 22, 2003 at 6:21 pm
quote:
Thanks Jonathan but it is not what I am looking for.Min(OrderDate) and Max(OrderDate) only works if you assume that Northwind does not...
September 22, 2003 at 6:05 pm
SELECT EmployeeId, MIN(OrderDate) FirstDate, MAX(OrderDate) LastDate
FROM Orders
GROUP BY EmployeeId
ORDER BY EmployeeId
--Jonathan
September 22, 2003 at 5:10 pm
Viewing 15 posts - 886 through 900 (of 920 total)