Viewing 15 posts - 2,761 through 2,775 (of 3,655 total)
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
I could be wrong here but I think the export to Excel uses the old JET libraries and that is the reason the TEXT data gets restricted to 255 characters.
May 4, 2005 at 4:07 pm
If you want a global temporary table then use CREATE TABLE ## rather than CREATE TABLE #.
Be careful though. When the creating connection logs out the table will vanish...
May 4, 2005 at 4:04 pm
As posted earlier immigration is a big issue in the UK right now, especially with the general election tomorrow.
We have a problem called the BNP (British National Party). Imagine...
May 4, 2005 at 3:58 pm
I loved the books but hated the movie.
Gags I liked
* The gun designed by a woman!
* The bottom falling out of the airlock
* Arthur Dent's "I'm British, I know how...
May 4, 2005 at 3:36 pm
Adam, I'm not sure what you are getting at.
It is possible to be valued as an individual but be irrelevant to the organisation.
May 4, 2005 at 3:23 pm
Within EM right-click on your database and select properties.
Under the general tab look at the Collation name (at the bottom), the chances are it is different in one database to...
May 4, 2005 at 2:00 am
I liked the gag about a gun designed by a woman and the airlock where the bottom falls out of it, but yes, they rushed through the opening (and best)...
May 3, 2005 at 7:11 am
I thought the whole point of a cluster is that the nodes were identical and therefore if a node went down the other nodes would take over?
We originally recommended that...
May 3, 2005 at 7:03 am
Viewing 15 posts - 2,761 through 2,775 (of 3,655 total)