Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 store table in sql memory

Author  Topic 

amirs
Constraint Violating Yak Guru

260 Posts

Posted - 2009-04-24 : 05:35:39
Dear all
please tell how can i store table in sql memory.
in my asp.net applicaton some table is use a large time and this table is very few record. and it is not changed so how can i posible store this table in memory


thanks is advance

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-04-24 : 05:46:34
Which version of SQL Server are you using?
With SQL Server 2000 yo ucan use DBCC PINTABLE, but not longer in SQL Server 2005 and later.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

senthil_nagore
Master Smack Fu Yak Hacker

1007 Posts

Posted - 2009-04-24 : 05:47:42
You can create temporary table using sql Stored procedure..

Then you call the procedure from asp.net and where ever u want!





Senthil.C
------------------------------------------------------
[Microsoft][ODBC SQL Server Driver]Operation canceled
Go to Top of Page

amirs
Constraint Violating Yak Guru

260 Posts

Posted - 2009-04-25 : 02:51:32
thanks for replay
dear peso
i am using sql server2000 version 8.00.760
but how can use pintable
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-04-25 : 04:36:02
Read about DBCC PINTABLE in Books Online, the SQL Server help file.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -