Viewing 12 posts - 16 through 27 (of 27 total)
Yes, i did.
I read
http://databases.aspfaq.com/general/why-do-some-sql-strings-have-an-n-prefix.html
and
http://msdn.microsoft.com/en-us/library/aa933104(v=sql.80).aspx
and
http://msdn.microsoft.com/en-us/library/aa276823(v=sql.80).aspx
it is not the first time i look for the answer. but its the 1st time i ask ppl.
yes, i dont understand the "var" part in varchar....
December 9, 2010 at 8:22 pm
unicode: the data size is 2 times of the data length
my question is: the comment column sets to nvarchar(200), I think is not big enough, sometime comment is longer than...
December 9, 2010 at 6:43 pm
:crazy: i double post, my bad
thank ppl to reply the post.
if iam using sql server 2000, does it support nvarchar(max)??
what if iam using nvarchar(200), every filed will take 200Bytes, no...
December 8, 2010 at 10:09 pm
thank ppl so much to reply the post
i think i got it, let me make sure i understand,
e.g.
nvarchar(max)
"hello world" is 11 Bytes,
"hello" is 5 Bytes,
varchar(max)
"hello world" is 22...
December 8, 2010 at 10:01 pm
GilaMonster (12/8/2010)
Are you expecting unicode data?
if yes, how it going to help me to set the column size
December 8, 2010 at 4:08 pm
GilaMonster (12/8/2010)
Are you expecting unicode data?
what is unicode data
December 8, 2010 at 3:14 pm
thank you ppl reply the post!
You can use VARCHAR(MAX) or NARCHAR(MAX) if you are using sql server 2005 and above.
I just checked, we are using 2000
Generally when you are inserting...
December 8, 2010 at 3:13 pm
Thx for ur detail explain tommyh!
something that's stil not clear from my mind.
I know my second insert is not effective, and I understand your code(only check the @clientNumber, not all...
November 22, 2010 at 6:59 pm
thx ppls to give me help!
I did a test on two different sp (test with 3400 rows),
one is my sp, processing time 46 sec
CREATE procedure [usp_addRecords] (
@id as int, @clientNumber...
November 21, 2010 at 9:42 pm
I dont get it. clientNumber in tblClientList is primary key.
can you tell me abit more in detail. thx!!
November 16, 2010 at 11:40 pm
below is my code, i dont know why two insert togeher in the sp will take much longer time to finish the process
CREATE procedure [usp_addRecords] (
@id as int,
@clientNumber...
November 16, 2010 at 10:43 pm
Paul White NZ (11/16/2010)
dlam 18073 (11/15/2010)
but what about table and view?
Using an (non-materialized) view makes no difference. Such a view is just a description of a query - no...
November 16, 2010 at 5:52 pm
Viewing 12 posts - 16 through 27 (of 27 total)