Viewing 5 posts - 16 through 21 (of 21 total)
Hi Kurt it is complex but nice one,i thing you used CTE for update process i am stater of CTE as of now i have seen only select queries but...
October 11, 2013 at 12:57 am
try to replace the following part in your coding i hope it will work for you .
SELECT @lStr = N'DECLARE @tblAmount TABLE(LegalEntity VARCHAR(10), Amount MONEY );INSERT INTO @tblAmount (LegalEntity, Amount)'+
...
October 11, 2013 at 12:50 am
Hi Try the following script it will work for your reuirement
CREATE TABLE [practicedb].[dbo].[template_practice](
[LTM_INV_CD] [char](10) NOT NULL,
[LTM_TMP_CD] [char](9) NOT NULL,
CONSTRAINT [PK_template_practice] PRIMARY KEY CLUSTERED
(
[LTM_INV_CD] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,...
October 10, 2013 at 6:47 am
Hi Try the following......
if exists(select * from sysobjects where name ='a')
begin
print 'passed'
UPDATE a
SET a.b = 1
...
October 9, 2013 at 12:53 am
Hey Guys,
Please check the following link there it is showing, Level is "SSChampion" for...
August 15, 2013 at 10:46 pm
Viewing 5 posts - 16 through 21 (of 21 total)