Viewing 15 posts - 16 through 30 (of 106 total)
I thought i was done but didnot account for values with a count of '0'
So how would i return '0' for descriptions i.e. any of the results that do not...
June 5, 2014 at 2:06 pm
Thanks that was what i was exactly looking for
thanks again
June 2, 2014 at 4:37 pm
I did construct a query based of a query in stack overflow as below, but still donot understand how this works. and still cant separate the first and the last...
September 20, 2013 at 9:56 am
Sample DDL in the form of CREATE TABLE statements
CREATE TABLE [dbo].[FinalStore1](
[AID] [smallint] NULL,
[AssociatedTableID] [smallint] NULL
) ON [PRIMARY]
CREATE TABLE [dbo].[StoreAssociatedTable1](
[AID] [smallint] NULL,
[AName] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[AssociatedTableName] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON...
September 12, 2013 at 4:15 pm
no i am trying to connect these three table
September 12, 2013 at 2:32 pm
well none of the columns explicity match each other. the table A stores the name of the associated table name.
[AssocTableName] [nvarchar](50) NULL stores the name for the associated table
data:
1...
September 12, 2013 at 2:00 pm
The relationship stems through the Associated Table so the associated table has the corresponding values for the first table. Did that answer your question ?
September 12, 2013 at 1:52 pm
Thanks Chris the query worked
thanks again
September 12, 2013 at 10:05 am
Thanks and sorry for the question, i was trying to insert the same record twice. Sorry about misleading you guys.
thanks
September 11, 2013 at 3:01 pm
Convert(datetime, DATEDIFF(day, 0, GETDATE())) worked
IF EXISTS(
select 1 from Xlog where LogDATE >= cast(getDate() as date) -- should this be datetime if i have Sql server 2005?
...
September 9, 2013 at 1:33 pm
DDL
CREATE TABLE [dbo].[Status](
[ID] [int] NOT NULL,
[Type] [nvarchar](5) NOT NULL,
[Status] [nvarchar](10) NULL,
[OpenedByID] [nvarchar](15) NULL,
[OpenedDate] [datetime] NULL,
CONSTRAINT [Cause_PK] PRIMARY KEY NONCLUSTERED
(
[ID] ASC,
[Type] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY...
June 18, 2013 at 3:50 pm
Thanks for the help , and it is sort of hard to explain what i actually want expect to put it as how i have already. Thanks for all the...
June 18, 2013 at 2:13 pm
Thanks for the reply,
i am looking for Null values and based on those null values i want to update a column in one of the tables. A trigger that would...
June 18, 2013 at 9:40 am
Viewing 15 posts - 16 through 30 (of 106 total)