window functions

Technical Article

RE: problem with linked server

  • Reply

Hi Ilijana,I am not familiar with omitting the database name but it seems that omitting the owner name enables the MS-data-access-oracle-unit  (I think this is that MSDAORA) to find the table you want where as using "JZOB" as owner cause this unit to access a non existing object. As far as there are only one table IZDVOJENA_OR the second […]

You rated this post out of 5. Change rating

2004-07-01

Technical Article

RE: creating ID for existing records

  • Reply

The better thing to do would be to find existing field(s) whose combination will define the entity that table is tracking. Then make that combination or single field a primary key. You kill 2 birds with one stone, 1) you separate attributes from entity definition, so it is easy to know what the table is for […]

You rated this post out of 5. Change rating

2004-07-01

Technical Article

RE: Database Ownership

  • Reply

--Also, here's a script for you while I'm at it.  DECLARE  @int_counter INT,  @int_max INT,  @txt_name NVARCHAR(255),  @txt_sql NVARCHAR(2500)DECLARE @databases TABLE (  int_id INT IDENTITY(1,1) PRIMARY KEY,  txt_name NVARCHAR(255))INSERT @databases(txt_name)  SELECT name FROM master..sysdatabases WHERE name NOT IN ('master','model','tempdb')SELECT  @int_counter = (SELECT MIN(int_id) FROM @databases),  @int_max = (SELECT MAX(int_id) FROM @databases)WHILE @int_counter <= @int_max BEGINSELECT […]

You rated this post out of 5. Change rating

2004-06-21

Technical Article

RE: Restoring an SQLServer 2000 database - questions...

  • Reply

THANKS much !!! (Yes, it isn't that large a database when you think about, compared to the others we have on this system it is one of the largest).Obviously I need to do a couple of practice restores on dummy databases to get this down.My big concern was after 3 hours, and having no gauge […]

You rated this post out of 5. Change rating

2004-03-31

Technical Article

RE: Displaying Permissions

  • Reply

This one puts the output into SQL commands that you can cut and paste into a new query and execute. -- af_revPermissions-- Verify existence of af_revPermissions procedure.  If it does exist, -- drop it, so that it can be re-created. if exists (select * from sysobjects where id = object_id(N'[dbo].[af_revPermissions]') and  OBJECTPROPERTY(id, N'IsProcedure') = 1)  begin […]

You rated this post out of 5. Change rating

2004-03-18

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