Viewing 13 posts - 61 through 73 (of 73 total)
The table in question contains detail records for a master which need a custom sort order determined by the user. Regardless of the specific physical order of the records, the...
August 26, 2009 at 1:05 pm
Looks like @@RowCount is what I was looking for thanks.
August 15, 2009 at 3:25 pm
Oh yeah, that's fine. I won't complain. But you do have to admit that it will significantly contribute to the general knowledge base.
July 31, 2009 at 3:27 pm
Table Structure. Note the default.
[Code]
CREATE TABLE [dbo].[Delegates](
[Id] [int] IDENTITY(1000,1) NOT NULL,
[ContactId] [int] NOT NULL,
[DelegateContactId] [int] NOT NULL,
[ExpirationDate] [date] NULL,
[Priority] [decimal](7, 1) NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Delegates] ADD CONSTRAINT...
July 31, 2009 at 9:57 am
Uhh....CTE?
Also, I replaced the INDEX hint with an ORDER BY but it didn't work properly.
BEGIN
DECLARE @id_start decimal(7,1)
SET @id_start = .1
BEGIN
WITH RecordSet AS (Select TOP 100 Percent Row_number() Over(Order By ContactId,...
July 31, 2009 at 8:30 am
So other than switching the INDEX to an ORDER BY, things look pretty on target? My experience with SQLServer is along the lines of advanced beginner.
July 31, 2009 at 6:42 am
The fields in the parent table will be in the partent Repeater or Gridview with the childs nested if that's not obvious. It also lays the groundwork for the user...
July 3, 2009 at 2:42 pm
For the record, while the project got shelved temporarily, once it starts up we'll be using a asp:repeater nested within another control to generate CSS which pivots the data as...
July 3, 2009 at 12:23 pm
Been busy...
For the record, the discussion groups that I have been apart of do not have stringent rules as to what needs to be included and what does not. Within...
December 16, 2008 at 8:20 pm
If I could write the T-SQL then I'd post it. I am presented the data as it exists in the tables and as I need it displayed. Either help or...
December 14, 2008 at 9:54 pm
My bad. Let's just pretend that that post was never posted as I now realize that it was way screwed up.
The Vertical table is
100001 ...
December 14, 2008 at 9:41 am
Looks like that did it, I just kicked it off. Seems to easy that MS would actually add text to the window to enter the name of a new database...
December 5, 2008 at 10:03 am
So how do I do a restore if the database doesn't exist already exist on the server? When I right click on the Database parent node and select 'RESTORE', the...
December 5, 2008 at 6:10 am
Viewing 13 posts - 61 through 73 (of 73 total)