security

Technical Article

RE: Simple Query Help

  • Reply

SET NOCOUNT ON DECLARE @tbl TABLE (GroupId INT,TaskId INT,Created SMALLDATETIME) INSERT @tbl VALUES(1,2,'04/30/03 10:00') INSERT @tbl VALUES(1,4,'04/30/03 10:15') INSERT @tbl VALUES(2,9,'04/30/03 09:00') INSERT @tbl VALUES(2,6,'04/30/03 09:05') SELECT     A.GroupId,     A.TaskId FROM     @tbl A INNER JOIN     @tbl B         ON    A.GroupId = B.GroupId INNER JOIN     @tbl C         ON    A.Created = C.Created GROUP BY     A.GroupId,     A.Created,     A.TaskId HAVING     A.Created = MIN(B.Created) […]

You rated this post out of 5. Change rating

2003-05-07

Technical Article

RE: Use Results from a Cross Join for dynamic SQL

  • Reply

Hi David, I posted a quick response to your previous solution where we could use Distict counts of respondents, recall if a respondent responds more than once to a combination we count them only once. Your previous solution with the small amendment works quite well but does not solve the problem where we have 50 […]

You rated this post out of 5. Change rating

2003-05-07

1 reads

Technical Article

RE: Clustering and Disaster Recovery

  • Reply

We tried replication under SQL 6.5, and, as I recall, replication would not push DDL (i.e., table and stored procedure) changes from the source server to the destination server. I’m thinking that the same behavior exists in SQL 7.0 and 2000. (Someone please correct me if I’m wrong.) We tested log shipping in SQL 2000, […]

You rated this post out of 5. Change rating

2003-05-07

Technical Article

RE: Log Shipping newbie

  • Reply

Thanks allen, but the directory is a share that I created. The directory on the server is e:\program files\Microsoft SQL Server\MSSQL I shared it as MSSQL so it is now \\machinename\mssql Notice the backup for the initialization actually worked..the file was created on the standby server from the production server so that is why I […]

You rated this post out of 5. Change rating

2003-05-04

2 reads

Technical Article

RE: HELP WITH SQL PROCEDURE syntax

  • Reply

HI I NEED YOUR HELP what i wont to do is OREDR BY With "@ORDERBY" ------------------------------------ DECLARE @search VARchar(3000) DECLARE @scop VARchar(20) DECLARE @orderby VARchar(20) DECLARE @sql nvarchar(1000) set @scop='\' set @orderby='Rank' set @search='DOC ' set @sql = 'SELECT TOP 50 * FROM OPENQUERY(NTindex, ''SELECT DocTitle,create,path,filename, rank,VPath,Contents,characterization FROM SCOPE (''''"'+@scop+'"'''') WHERE FREETEXT(Contents, '''''+@search+''''')'') WHERE (FILENAME […]

You rated this post out of 5. Change rating

2003-05-03

1 reads

Blogs

Simple Talks Episode 7

By

The season 1, seventh episode of Simple Talks is out. Check it out, with...

A New Word: the McFly effect

By

the McFly Effect – n. the phenomenon of observing your parents interact with people...

Key mappings in Visual Studio Code

By

At a recent conference I was asked how I executed code during my presentation....

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