MDX

Technical Article

RE: SQL Server Login using ASP

  • Reply

Yes, that is definitely helpful. Thanks! I will be making use of the USER() function and other pertaining to the currently logged on user (who create, last modified the row, in triggers for auditing, etc) - so I will have to consider the latter information you posted. Thanks!

You rated this post out of 5. Change rating

2003-08-05

Technical Article

RE: Loss of Data - Help Needed

  • Reply

How do i read the log file, i should at least be able to find out as to who did it and when ? quote: Hi All, Today seems to be a bad day....i found that two tables in two databases that i have, have been truncated...... is there any way to know which user […]

You rated this post out of 5. Change rating

2003-08-05

Technical Article

RE: Alter Database options

  • Reply

Hi Andy, Thanx for the advice. This is what I am currently doing. I 'dim' the following objects Database, TransactionLog, FileGroups, FileGroup, DBFile & LogFile as SQLDMO objects. I 'Set' the following objects: oDatabase as the current selected database, oTransactionLog as oDatabase.TransactionLog, oFileGroups as oDatabase.filegroups. What happens then is that the selected database's options and […]

You rated this post out of 5. Change rating

2003-07-28

Technical Article

RE: Profiler interpretation question

  • Reply

PS:Completed indicates the stored procedure has completed. RPC:Completed occurs When one instance of SQL Server send a request for another SQL Server to execute a remote procedure, the relational engine recognizes it, and shows in the profiler as RPC:Starting and RPC:Completed when it completes

You rated this post out of 5. Change rating

2003-07-23

Technical Article

RE: Problem with restricting self joins.

  • Reply

This query should return what you need: Select Coalesce(a.year,b.year) as [Year], a.value as 'ValueOfSubID1', b.value as 'ValueOfSubID2' from (Select * From MyTable WHERE ID = 1 and SubID = 1) a FULL OUTER JOIN (Select * From MyTable WHERE ID = 1 and SubID = 2) b On a.Year = b.Year and a.ID = b.ID

You rated this post out of 5. Change rating

2003-07-22

2 reads

Technical Article

RE: SQL Profiler Trace

  • Reply

What about running the trace on the server, storing the results in a table and querying the results from the client using Excel or Access ? Then you only need MDAC loaded on the client and not Profiler. Check out this article for more information on how to run the trace on the server:

You rated this post out of 5. Change rating

2003-07-07

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