Viewing 15 posts - 406 through 420 (of 2,171 total)
Well, the perfect database server has as many processors as possible, as much memory as possible.
If all your databases can be run in memory, this is the best option.
When your...
July 4, 2009 at 2:11 am
Also asked and answered here
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=128741
select *
into #TempTable
from (SELECT column_name,column_default
FROM INFORMATION_SCHEMA.COLUMNS
where table_Name ='TMovie' )
and change all other occurancies of "____TEMP____TABLE___" to "#TempTable"
July 4, 2009 at 2:09 am
DELETE f
FROM (
SELECT ROW_NUMBER() OVER (PARTITION BY Path ORDER BY ID) AS recID
FROM Table1
) AS f
WHERE recID > 1
July 4, 2009 at 12:10 am
No, the OS handles this.
See here for a starter about FILESTREAM
http://technet.microsoft.com/en-us/library/bb933993.aspx
The database and OS communicated over the FILESTREAM API.
When you delete a record with FILESTREAM attribute enabled, the operating system...
July 3, 2009 at 11:55 pm
Once deleted, the FILESTREAM data is under OS control. It can take some time before OS removes the file in the filestream catalogs.
July 3, 2009 at 3:48 am
SELECT DATEDIFF(MS, Date1, Date2) / 86400000.0E AS DecimalDay
July 3, 2009 at 12:35 am
print cast( ROUND(@real + CAST(0.5E * POWER(0.1E, 2) AS DECIMAL(15, 3)), 2, 1) AS decimal(15, 2))
July 3, 2009 at 12:20 am
And that's the culprit. Due to the binary interpretation of REAL and FLOAT datatypes
1 / 2^n + 1 / 2^(n+1) + 1 / 2^(n+2) + 1 / 2^(n+3) + ...
the...
July 3, 2009 at 12:15 am
DECLARE@n TINYINT
SET@n = 2
DECLARE@Sample TABLE
(
Value DECIMAL(15, 7)
)
INSERT@Sample
SELECT18.0049 UNION ALL
SELECT18.005
SELECTValue,
ROUND(Value + CAST(0.5E * POWER(0.1E, @n) AS DECIMAL(15, 7)), @n, 1)
FROM@Sample
July 2, 2009 at 4:50 am
Add BatchSize option for your BULK INSERT operation.
Set to approx 1000 records.
July 1, 2009 at 5:42 am
You can use replication.
July 1, 2009 at 5:39 am
And without the CASE thingy
SELECTZIP + COALESCE('-' + PlusFour, '') AS FullZIP
FROM[Address]
June 29, 2009 at 3:43 pm
GilaMonster (6/29/2009)
Peter probably has a good reason, one I'd be interested in hearing.
There's nothing more to say that I wanted to experiment with a SQL Server instance too see how...
June 29, 2009 at 11:30 am
Just a note, SSCommitted is a status, not an Alias. 😉
June 29, 2009 at 7:48 am
Viewing 15 posts - 406 through 420 (of 2,171 total)