Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8848277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:23:17+00:00 2026-06-14T12:23:17+00:00

In SQL Server 2012 when I write code for stored procedure and for any

  • 0

In SQL Server 2012 when I write code for stored procedure and for any function. After that when I want to alter it added extra blank line gap, that’s why it seem very unacceptable lenghty..

CREATE proc sp_delete_Rte_article_admin_Latest   
(    
@id int    
)    
as    
begin    
if exists (select * from tblRte where Id=@id )    
begin    
    declare @IvanID bigint  

    set @IvanID=(select [IvanArtId] from tblRte where Id=@id )  
    insert into tblRteOnDelete([IvanArtId],[StoryType],[ChannelType],[Filename],
                [Headline],[PublishDate],[Title],[DocScope],[KeyWord],[Byline],[City],
                [State],[StoryDate],[BodyContents],[DownloadedDate],DeleteDate)
    select [IvanArtId],[StoryType],[ChannelType],[Filename],[Headline],[PublishDate],
           [Title],[DocScope],[KeyWord],[Byline],[City],[State],[StoryDate],
           [BodyContents],[DownloadedDate],GETDATE()
      from tblIvanhoeXmlFeeds
     where Id=@id   

    delete from tblRte where Id=@id   
    delete from tblUpdatedRteTopics where IvanArtId=@IvanID  
    delete from tblCheckAllowRte where ArticleID=@IvanID  
    delete from tblAddRteeApprove where ArticleID=@IvanID  

    return 1    
end    
else    
begin    
    return 0    
end    
end

What should do for moving this for all time..any setting ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T12:23:18+00:00Added an answer on June 14, 2026 at 12:23 pm

    I want to know Sqlserver 2012 Configuration Setting or Code Setting so that I could remove
    the black Space Line ,which come after and after whern are going to alter and open again…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using SQL Server 2008. I want to write a query that gives
I use this code to connect to SQL Server 2012, but it does not
I am executing the following code to install SQL Server 2012 in silent mode.
I am using Microsoft SQL Server 2012 Express. The following code from MySQL gives
I just installed SQL Server 2012 Web version, and I noticed that a lot
Using: SQL Server 2008 R2 I'd like to write a query that will select
I'm trying to write a Microsoft SQL Server 2005 query that counts a total
I have an error message that occurs every time I use SQL Server 2012
I use SQL Server Management Studio 2012. When I try to create a stored
In SQL Server 2012, I have a big query that have this where clause:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.