Viewing 7 posts - 1 through 7 (of 7 total)
ALTER TABLE Vrhicle
DROP CONSTRAINT fk_PerVrhicle
Greetings
May 9, 2014 at 2:32 pm
You can try this
Select DISTINCT * into #table from table
GO
truncate table
GO
insert into table select *from #table
April 29, 2008 at 6:33 pm
If you have the oracle server as a linked server you can use
Select * into #temp from OPENQUERY (YourOracleSvr, 'Select *from yourtable')
hmaharaj (4/28/2008)
April 28, 2008 at 10:47 am
April 28, 2008 at 10:36 am
you can create a proc for insert and usea IF exists
Example
CREATE PROC HND_INSEPISODES
@EpisodeID int,
@TVShowID int,
@Episode_Name varchar (100),
@season int,
@Episode_Number int
AS
BEGIN
IF EXISTS (select *from TVShow where ...
April 28, 2008 at 10:10 am
Select *from items where SubCategoryId IN (SELECT SubCategoryID from SubCategories SCAT
INNER JOIN Categories CAT on CAT.CategoryId = SCAT.ParenCategoryId
WHERE SCAT.ParentCategoryId = X)
maybe not the best but works 😛
goodyes (4/26/2008)
I have a...
April 26, 2008 at 12:53 pm
Viewing 7 posts - 1 through 7 (of 7 total)