Storage Management

Technical Article

RE: Stored Proc and Master DB

  • Reply

I don't know how are you using the parameter but this sholud helpyou going Declare @str varchar(200) SET @str = DB_NAME()--Assuming is going to be runned from other databases only --otherwise use dbname as a parameter +'.dbo.sp_helprolemember ' + '''' + 'RoleName' + '''' --print @str exec (@str) I don't know why can't the "plus" […]

You rated this post out of 5. Change rating

2003-11-13

Technical Article

RE: Resize data file

  • Reply

Hi again ... Firstly, thank you for the responses. I am running SQL2000 ADV SERV with SP3. There is just one .mdf and one .ldf to this database. The available drive space is in excess 200GB. The drive configuration is RAID 5. Shas3------------------------------------ Expanding your database from 1MB to 50GB take long time. Who many […]

You rated this post out of 5. Change rating

2003-07-24

Technical Article

RE: Fetch next not working

  • Reply

While this shouldn't loop forever, I imagine you actually want something different. First, you are not using the value read by the cursor. The statement of INSERT INTO... will read from the entire table of junkgood for each row. It probably seems like the program is looping forever because of the duplicates. Which brings me […]

2003-07-11

Technical Article

RE: maximum number of prefixes

  • Reply

Create sp in serverA to select data from remote_server and call the sp from server B, C and D. create procedure sp2000_helpdb as select * from [remote_server].master.dbo.sysdatabase in server A exec [server_A].master..sp2000_helpdb in server B, C, and D Edited by - Allen_Cui on 05/28/2003 1:20:05 PM

2003-05-28

1 reads

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers