window functions

Technical Article

RE: Suggestion for R/W and Exec Proc permissions

  • Reply

You can create the procedure below in you master database and run this procedure from the database to which you want to grant permissions. Also, the default role name is Execute_StoredProcedure. You can pass in the role name as a parameter /*      This procedure grants Execute permissions to all procedures on a database to the […]

You rated this post out of 5. Change rating

2005-05-09

Technical Article

VIEW INSIDE A VIEW

  • Topic

If I use a view inside a view, is it recomended and how will it affect the performance. I need this becasue I cant use an Order by clause in the inner view.

2005-04-12

Technical Article

RE: Comparison Operator With Local Variable

  • Reply

This works for me. Declare @Names as varchar(8000) set @Names = 'SysObjects, SysIndexes' --this is in your stored proc : set @Names = ',' + Replace(@Names, ' ', '') + ',' Select Id, Name, XType from dbo.SysObjects where charindex (',' + Name + ',' , @Names, 1) > 0 Please note that this script assume […]

You rated this post out of 5. Change rating

2005-01-11

Blogs

Our Contributions Towards a Stronger Open Source Future

By

Whether you’re a developer at an agency or an aspiring creator, you can trust...

Rebuilding a SQL Server Database Transaction Log

By

“Could you help me, we deleted the database’s transaction log file and now that...

Copying Content from One Databricks Unity Catalog Catalog to Another

By

I had a couple of clients who were moving content from development catalogs to...

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