Viewing 9 posts - 31 through 39 (of 39 total)
CREATE TABLE [dbo].[Product_Table](
[Product Id] [char](10) NULL,
[IsPrimary] [int] NULL,
[Quantity] [numeric](18, 0) NULL
) ON [PRIMARY]
INSERT INTO Product_Table ([Product Id], IsPrimary, Quantity) VALUES ('P001', 1, 0)
INSERT INTO Product_Table ([Product...
December 19, 2013 at 2:14 pm
Sorry for the inconvenience.
Since my table did not got pasted properly, i have attached screen shot in below link
please help
December 19, 2013 at 1:20 pm
Thanks.. its working !
can you let me know why you have used
HAVING COUNT(*) = 4
March 20, 2013 at 5:49 am
CREATE TABLE [dbo].[fact_sales](
[sales_id] [bigint] IDENTITY(1,1) NOT NULL,
[Product_ID] [bigint] NOT NULL,
[agent_id] [int] NOT NULL,
[product_code] [varchar](50) NULL,
[created_by] [int] NULL,
[created_date] [datetime] NOT NULL,
[modified_by] [int] NULL,
[modified_date] [datetime] NULL,
CONSTRAINT [PK_answer] PRIMARY KEY CLUSTERED
(
[sales_id]...
March 20, 2013 at 4:14 am
when i run the below query i get error
Conversion failed when converting the varchar value ' | | |0|0|0' to data type int.
-- alternative version
SELECT Product_ID
FROM (
SELECT f.Product_ID, agent_id,...
March 20, 2013 at 3:51 am
Getting error :
Conversion failed when converting the varchar value ' | | |0|0|0' to data type int.
ChrisM@Work (3/20/2013)
DROP TABLE #fact_sales
CREATE TABLE...
March 20, 2013 at 2:53 am
December 2, 2012 at 1:36 am
just look this site
November 10, 2011 at 1:57 am
Respected Mr. Newbie
Same Error .... Pls help... the verion in server is 8.0 my pc is server 7.0
may this be the reason?
exec sp_attach_single_file_db @dbname = 'Envnew',
@physname =...
March 7, 2006 at 2:15 am
Viewing 9 posts - 31 through 39 (of 39 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy