Viewing 15 posts - 2,776 through 2,790 (of 3,678 total)
The thing that is hardest for a non-US citizens to appreciate is that the US is, near as damn it, a continent rather than a country.
If the US built a...
May 10, 2005 at 8:59 am
So if I understand you correctly you have two locations, for the sake of argument we'll call them demo and live.
At demo you have
* A web server
* A SQL server
At...
May 9, 2005 at 3:54 pm
What are the specs of the various machines?
What else is running on the machines? If the host is running WebTrends you may see a huge performance hit. WebTrends...
May 9, 2005 at 2:04 pm
DECLARE @sProcName SysName
SET @sProcName=''
WHILE @sProcName IS NOT NULL
BEGIN
SELECT @sProcName =MIN(Name)
FROM SysObjects
WHERE Type='P' AND...
May 9, 2005 at 8:45 am
Well, as VARCHAR/NVARCHAR shouldn't pad the string that implies that either your variable is paddding or the setString function is padding it.
What happens if you run
SELECT databasepropertyex(DB_NAME(),'IsAnsiPaddingEnabled')
May 9, 2005 at 2:11 am
Why bother?
I am sure that you can copy MODEL to another instance, but I'm not sure about MSDB. I suspect that you can move MSDB but don't quote me...
May 6, 2005 at 8:55 am
Ye Gods, don't you just hate vendors who buy a stable full of products, chuck them in a bucket, stir with a big stick and then say "look at our...
May 6, 2005 at 8:50 am
I think you are getting confused with the byte storage rather than the physical character storage.
NVARCHAR(10) and VARCHAR(10) can both take 10 characters but NVARCHAR will store it in 20...
May 6, 2005 at 2:28 am
Massive locking problems.
Every record creation seems to result in an insert and multiple updates while locking everything up.
Its OK when its just publishing but when visitors are surfing the site...
May 6, 2005 at 1:47 am
If you don't explicityly need unicode or double-byte characters then stick with CHAR, VARCHAR, TEXT etc rather than NCHAR, NVARCHAR, NTEXT.
I don't use CHAR very often because it is a...
May 5, 2005 at 2:53 pm
I saw an article that argued that certain languages attract good programmers. If that is the case then C++ and Java will naturally be skilled.
Try recruiting a good VB...
May 5, 2005 at 2:01 am
I think you are getting a bit mixed up with your CONVERT statements
select convert(varchar(20),planarrvtime,108) as plantime,
convert(varchar(20),arrtime,108) as arrvtime,
DATEDIFF(hour, planarrvtime, arrtime) as diff,
case DATEDIFF(hour, planarrvtime, arrtime) when 0 then 'Present'
else CAST(DATEDIFF(hour,...
May 4, 2005 at 4:18 pm
SELECT LEFT(YourColumn,5) AS Code, Count(*) AS Records
FROM dbo.YourTable
GROUP BY LEFT(YourColumn,5)
May 4, 2005 at 4:12 pm
I forgot to add, I built an Excel export routine that spat out an HTML table but the page header had a ContentType="application/vnd.ms-excel"
This means that although the file is really...
May 4, 2005 at 4:10 pm
Viewing 15 posts - 2,776 through 2,790 (of 3,678 total)