Viewing 15 posts - 10,351 through 10,365 (of 26,489 total)
Here is some code for you to review. Ask yourself questions about the code, then try to answer them yourself by seeing what is happening.
I am using dynamic sql...
August 1, 2012 at 1:54 pm
morepainot (8/1/2012)
•Do all staged columns exist in the source and in the stage database?
•Is the data type of...
August 1, 2012 at 12:35 pm
I'm going to go back to square one. I have been rereading this thread and I am just getting confused and I need some illumination.
What is the purpose of...
August 1, 2012 at 12:24 pm
Hard to trouble shoot when we can't see what you see.
Care to post the code and any other info that may be important, like error messages?
August 1, 2012 at 10:46 am
morepainot (8/1/2012)
ALTER PROCEDURE usp_PreStageValidation @ApplicationName...
August 1, 2012 at 10:39 am
ChrisM@Work (8/1/2012)
Lynn Pettis (8/1/2012)
I made a slight change to the function Chris wrote...😀 😀
Take this as a "seal" (imagine a picture of a seal here) of approval? I can't...
August 1, 2012 at 9:52 am
morepainot (8/1/2012)
"Msg 2714, Level 16, State 3, Procedure usp_PreStageValidation, Line 185
There is already an object...
August 1, 2012 at 9:18 am
Took the code from above, added GO batch separators between the CREATE PROCEDURE statements.
Also, again, when posting code please use the IFCode [ code="sql" ]/[ /code ] shortcuts (WITHOUT the...
August 1, 2012 at 9:16 am
I made a slight change to the function Chris wrote. I changed it from a mtvf to an itvf. Please check it out.
CREATE FUNCTION [dbo].[GetCIDs2]
(@SID INT)
RETURNS TABLE...
August 1, 2012 at 9:00 am
anthony.green (8/1/2012)
The line
join StandardsGroupsClassification ccmap
ON ccmap.PID = s.SID
should be
join StandardsGroupsClassification ccmap...
August 1, 2012 at 8:05 am
anthony.green (8/1/2012)
I have created a database and backed it up which you can download from here
http://antg.dyndns-home.com:8080/myweb/other/joiner.bak.
It contains the tables with...
August 1, 2012 at 7:20 am
Abel A. (7/31/2012)
Let's analyze your situation, you're not getting any good DBAs and yet you're still standing firm on your...
July 31, 2012 at 6:48 pm
ramkumar1336 (7/31/2012)
specified year is the due date for a tax bill. Write a user defined function in...
July 31, 2012 at 6:03 pm
Do you mean something like this?
create table #TestTab (
TestTabId int identity(1,1),
TestName char(1)
);
insert into #TestTab(TestName)
values ('a'),('b'),('c'),('d'),('e'),('f'),('g'),('h'),('i'),('j'),('k'),('l'),('m'),('n'),('o'),('p'),('q'),('r'),('s'),('t');
go
declare @InputString varchar(128) = '1,3,2,5,5,4,3,2,2,1';
select
...
July 31, 2012 at 4:34 pm
Slight change to the code:
CREATE TABLE [dbo].[tblInvoice](
[intID] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
[intCustomer] [int] NULL,
[intMonth] [int] NULL,
[intYear] [int] NULL,
[monAmount] [money] NULL,
CONSTRAINT [PK_tblInvoice] PRIMARY...
July 31, 2012 at 4:19 pm
Viewing 15 posts - 10,351 through 10,365 (of 26,489 total)