Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS SQL Server
 Does archiving reduce space usage?
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

NorwegianViking
Junior Member

Denmark
119 Posts

Posted - 29 January 2004 :  19:40:37  Show Profile  Visit NorwegianViking's Homepage
Cool, grazman. Nice use of views.
And a very good set of instructions!

An Access user would not be able to use Views (I think) but could achive the same by linked tables.

About speed:

Linked server to another MS SQL Server is known to be slow. Very slow. Normally one would use the OPENQUERY function which allows a pass-through query against the linked server.

syntax is:
SELECT * FROM (linked server name,'SELECT [field1],[field2] FROM [instance].[owner].[table]'

But I have no idea if the Create View allows this function. It should be something like this, it it works:

CREATE VIEW dbo.FORUM_A_REPLY
AS
SELECT * FROM OPENQUERY ([SERVER9\I2],
'SELECT [CAT_ID],
[FORUM_ID],
[TOPIC_ID],
[REPLY_ID],
[R_STATUS],
[R_MAIL],
[R_AUTHOR],
[R_MESSAGE],
[R_DATE],
[R_IP]
FROM [SnitzArchive].[dbo].[FORUM_A_REPLY]')
GO

kind regards
NorwegianViking

Mod installation for beginners | User registration problems?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 January 2004 :  21:56:22  Show Profile  Send ruirib a Yahoo! Message
Cool way to do it.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07