Viewing 15 posts - 736 through 750 (of 760 total)
I think your DDL and sample data script is not correct. Its returning errors. I think you should check it.
April 12, 2012 at 10:33 pm
Grass (4/12/2012)
I checked entity_id,and user_id are retruning multiple records in a table. So, what field do I need in my statement as a distinct.Are these entity_id
,user_id ones? or something...
April 12, 2012 at 10:28 pm
capn.hector (4/12/2012)
vinu512 (4/12/2012)
dwain.c (4/11/2012)
DECLARE @t TABLE (id INT, test VARCHAR(10), status VARCHAR(10))
INSERT INTO @t (id, test, status)
SELECT 1, 'test1', 'Passed' UNION...
April 12, 2012 at 10:18 pm
Edit: All this has to be done by connecting to the database and not to Integration Services in the connection window.
April 12, 2012 at 6:46 am
Follow the steps to add job:
1. Right click on jobs in SQL server agent and select "new job".
2.Fill in a name for the job and click "Steps" at the left...
April 12, 2012 at 6:44 am
Oops!!! my bad then....Sorry.
Didn't know much about mining structures.
It was just a wild guess.
April 12, 2012 at 2:52 am
This is how you call a job inside a trigger:
CREATE TRIGGER <TriggerName>
ON <TableName>
AFTER INSERT, UPDATE, DELETE
AS
EXEC msdb..sp_start_job
@job_name...
April 12, 2012 at 2:39 am
Please post your DDL and sample data.
Without that, from what I understand, you should create the po no field as an identity. So, every time a new order is placed...
April 12, 2012 at 1:17 am
You should check your table for duplicates because one of your sub queries is returning multiple records from the table based on your parameters. This could happen if you have...
April 12, 2012 at 1:13 am
This might be another way....do correct me if I am wrong.
Declare @test-2 datetime
If Not Exists(Select ID From Test Where Id = 219798)
Begin
Set @test-2 = getdate()
End
Select
April 12, 2012 at 12:54 am
Works Perfectly for me with IS NULL.
Tried it like this :
Create Table Ex
(item1 int,
item2 varchar(5),
item3 int)
Insert Into Ex
Select 1, 'pen', 34
Union All
Select 1, 'pen', null
Select * From...
April 12, 2012 at 12:31 am
How does the database know that item3 holds the value "pen, pencil"?...Is there a table where you have specified that item3 refers to "pen, pencil"?....
If there is then you need...
April 12, 2012 at 12:21 am
dwain.c (4/11/2012)
DECLARE @t TABLE (id INT, test VARCHAR(10), status VARCHAR(10))
INSERT INTO @t (id, test, status)
SELECT 1, 'test1', 'Passed' UNION ALL
SELECT 2,...
April 12, 2012 at 12:07 am
This might sound stupid.
But why don't you use import data using a package in SSAS if you dont want to use SSMS??....That can be done from BIDS. right??....
Please do correct...
April 11, 2012 at 10:30 pm
Please post the DDL of the tables and sample data so thatits easier for us to understand and provide a solution.
Vinu Vijayan
April 11, 2012 at 10:24 pm
Viewing 15 posts - 736 through 750 (of 760 total)