An excerpt from the book -----------
Third, each object is a table, and the attribute of the object is the column of the table. Now the problem arises. What types of columns should be used, for example, what data type should I use for the title of an article?
Minor day: NCHAR (50) rows? This is because we use Unicode characters, while the title string of the article is 50 characters long enough.
Laotian: As for what type of information you are talking about, you can bet on it first. You can read the following code and cannot run it. You can think about it based on the Content learned in the previous chapter. If it is wrong, go to the error correction website provided later in this book and report that the wrong person wants to do something for the right person or answer a question similar to the king game.
Declare @ txta nchar (10) = 'you guess how many words can be displayed in this line '-16 words, show? Characters Declare @ txtb char (10) = 'Do you know why I display more than him '-12 words, show? Characters Select @ txta, @ txtb |
Bytes -------------------------------------------------------------------------------------------
I have set a small number of such games and some traps in my book (traps will certainly provide solutions before subsequent chapters or summary in this chapter ), this kind of games, after being shelved in the book, provide a website dedicated to error correction and service.
Do you think so?