Вниз
Скачать: CL | DM;

Помогите...   Найти похожие ветки 

← →
BJValentine ©   (2002-10-11 20:49) [0]

В Query Analizer пишу:

Create table MyBase.dbo.#tmp1 (nums int)

а оно создаёт таблицу, но пишет сообщение:

Database name "MyBase" ignored, referencing object in tempdb.

Чё это может быть? Помогите, плз...


← →
sniknik ©   (2002-10-11 21:06) [1]

пишет что все зашибись, но MyBase лишнее так как таблица временная. :-)


← →
BJValentine ©   (2002-10-11 21:09) [2]

А что временная таблица пофиг в какой базе?


← →
sniknik ©   (2002-10-11 21:22) [3]

Наверно пофиг, т.к. пока переключиш соеденение ты ее потеряеш :-(. и какая тогда разница?

Temporary Tables
You can create local and global temporary tables. Local temporary tables are visible only in the current session; global temporary tables are visible to all sessions.

Prefix local temporary table names with single number sign (#table_name), and prefix global temporary table names with a double number sign (##table_name).

SQL statements reference the temporary table using the value specified for table_name in the CREATE TABLE statement:

CREATE TABLE #MyTempTable (cola INT PRIMARY KEY)
INSERT INTO #MyTempTable VALUES (1)
.......


← →
BJValentine ©   (2002-10-13 12:30) [4]

Спасибо, катит.


← →
SiDen   (2002-10-13 14:19) [5]

Что значит пофиг? Временные таблицы - временная БД.(tempdb)... Ничего не говорит? Все там будет.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.016 c
4-101565
Gat{}T
2002-09-18 13:50
2002.10.31
Перезагрузка windows


1-101363
som
2002-10-21 11:12
2002.10.31
Excel и Delphi


6-101416
dr.karter
2002-08-30 14:16
2002.10.31
Server&ClientSocket


3-101144
Heathen
2002-10-10 19:15
2002.10.31
DBGrid and ADO


1-101233
kukuikar
2002-10-20 23:52
2002.10.31
Какие мне параметры надо писать в ShellExecute(...) чтобы при кли




   Наверх