Home All Groups Group Topic Archive Search About

SQL Server database programming

microsoft.public.sqlserver.programming
Score SQL Query to determine time start/end within a time range
Sammy - 2 Mar 2007 3:30 PM - 1 message
From multiple records in a table, for a datetime field I am trying to get the start/stop time for each range of times that doesn't have a gap of 15 minutes or more. Example Output desired from the example records below ...
Score Recommendation on SQL Performance Monitroring Tools
Nitin - 1 Mar 2007 6:55 PM - 1 message
I need recommendation on following tools for Performance Monitoring. These tools are from Idera. If you know any other competitior tool that perform better, please advice. SQL Diagnostic Manager SQL Defrag Manager -Nitin ...
Score Trying to restore Merge Replication: HELP!
alex77ander77 - 28 Feb 2007 6:19 PM - 1 message
Hi Everyone, I need help to reinitialize a subscriber subscription for merge replication. So far, B server has been take offline, a new B2 server was put in, and a DTS package moved all of the db in B to B2 . A has ...
Score sp_executesql syntax problem on SQL 2000
Ots - 27 Feb 2007 3:03 PM - 1 message
Hello, I'm trying to work around the 4000 character limit w/ sp_executesql in SQL 2000 by breaking apart my query into two strings and passing them as parameters. To test this, I'm trying to make it work in a very ...
Score IDENTITY based on a second value
Senna - 26 Feb 2007 3:21 PM - 1 message
Hi Using SqlServer 2005. At a INSERT statement I want CustomId to increase with 1 depending on what the AppId are. CustomId must be unique per AppId. Any ideas on how to solve this? CREATE TABLE [Invoice] (     [Id] [int] IDENTITY (1, 1) NOT FOR REPLICATION  NOT NULL , ...
Score ORDER BY in CREATE VIEW
AdrianDev - 25 Feb 2007 7:36 PM - 1 message
Hi, I have tables A, B and C that I've joined through a view called MYVIEW . In table B there is attribute B.orderby. It is not the primary key. When I "SELECT * FROM MYVIEW" I always want the results ordered by B.orderby. However, an ORDER BY in a CREATE VIEW is not allowed. ...
Next »