sql2008隻讀
㈠ sqlserver2008 Replication 如何不控制訂閱許可權讓訂閱庫只讀不能寫
這個和Replication沒關系,你想只讀不寫,那
你建一
個用戶,只有讀的許可權就行了。以後就用這個賬號訪問資料庫
㈡ sql2008 只讀許可權用戶設置
sql
code禁用sa打開security(安全性)
--
logins(登錄名)
,右鍵選中sa,選擇谷歌properties(屬性),點擊status(狀態)切換到狀態面板,將login(登錄)設置為enabled(禁用)。
㈢ SQL Server只讀/正在恢復問題怎麼解決
5步解決SQL Server只讀/正在恢復問題
1.首先,啟動"任務管理器",殺掉SQL Server進程,或者停掉SQL Server服務。
2.將資料庫文件拷貝一份(保險起見,備份),當然你也可以剪切到指定的文件。
3.將原來的出錯的資料庫文件(只讀/正在恢復)刪除。
4.重新啟動SQL Server服務,打開Express,資料庫會變為【只讀】。
5.刪除掉【只讀】資料庫,重新附加之前備份的資料庫文件。
㈣ SQL怎麼解決只讀文件
rs是以只讀方式打開的嗎?rs.open
sql,conn,1,3
或者SQL的訪問許可權沒設置正確?
㈤ sql server2008怎麼把資料庫變成只讀
設置資料庫訪問許可權就可以了
㈥ sql server 2008附加的資料庫是只讀的,如何更改過來
附加後的資料庫是只讀的,不能插入數據,在狀態中,把』資料庫只讀『改為false報錯
㈦ sql server2008 一直提示游標是只讀的,能不能解釋一下大神們,怎麼操作
你的錯誤太多了,
use student
go
declare @newtable table(stud_id int,stud_name nvarchar(50),id int);
declare @i int, @stud_id int;
insert into @newtable(stud_id,stud_name)
select stud_id,stud_name from stud_info;
declare curl scroll cursor for
select stud_id from @newtable;
open curl;
set @i = 0;
fetch next from curl into @stud_id;
while @@FETCH_STATUS =0
begin
update @newtable set id = @i where stud_id = @stud_id;
set @i = @i + 1;
fetch next from curl into @stud_id;
end
close curl;
deallocate curl;
select * from @newtable;
㈧ 在sql server2008中數據表單元格為只讀,怎麼更改
如何解決,找不到
㈨ sql server 2008 r2主從資料庫同步時,從資料庫顯示只讀,但不能與主資料庫同步
在資料庫裡面新建一個同名資料庫,然後附加到這個新的資料庫里看看