Viewing 15 posts - 5,026 through 5,040 (of 7,636 total)
Adi: Which rule of Well-Formed XML do you think that 'this is not a valid XML' violates?
October 29, 2008 at 1:51 pm
UNION [ALL] is an "binary infix" operator, which means that it works like addition (+) and multiplication (*):
{Select statement} UNION [ALL] {Select statement} UNION [ALL] {Select statement} ...
So you only...
October 29, 2008 at 1:41 pm
Start with telling us what you want to do (not how you think you should be doing it). If you could script the table definition and post that here,...
October 29, 2008 at 1:36 pm
Try it like this:
DECLARE @FirstDay DATETIME,@LastDay DATETIME
SET @FirstDay =(SELECT DATEADD(MONTH,DATEDIFF(MONTH,0,GETDATE())-0,0 ))
SET@LastDay =(SELECT DATEADD(MONTH,DATEDIFF(MONTH,-1,GETDATE())-0,-1))
SELECT
Loanreference
,BranchCode
,Firstdisbursementdate
...
October 29, 2008 at 1:32 pm
And please post the view definition also.
October 29, 2008 at 12:21 pm
Tell him to use a SQL Server View. If he doesn't want to be aware that it is a view, try using the VIEW_METADATA option.
October 29, 2008 at 9:31 am
What edition of SQL Server 2005 has an "INPUT INTO" statement?
October 29, 2008 at 8:47 am
And by the way: this would of course work much faster and much better (many more options) if the Parameter column's data type were XML.
October 29, 2008 at 8:43 am
So... what exactly can you change?
October 29, 2008 at 8:34 am
umanpowered (10/28/2008)
October 29, 2008 at 8:18 am
Most tools (like management studio) either filter them out or shunt them off in a "system" folder.
October 29, 2008 at 6:25 am
Depends on what you mean by "quick":
Insert into ptApointment(...)
Select ...
From ptSchedule s
Where ScheduleID NOT IN(Select Cast(a.ID as int) from ptApointment a
...
October 28, 2008 at 1:54 pm
You probably should try another approach. What are you really trying to do with this?
October 28, 2008 at 1:38 pm
sarahpumfrey (10/28/2008)
I wondered if you could tell me why this command isn't working:UPDATE TABLENAME SET SUBSTR(FIELDNAME,1,7) = 'XXXXXXX' WHERE SUBSTR(FIELDNAME,1,7) = 'YYYYYYY';
Substring is, like almost all functions and operators in...
October 28, 2008 at 7:05 am
Jim Mace (10/27/2008)
October 27, 2008 at 4:28 pm
Viewing 15 posts - 5,026 through 5,040 (of 7,636 total)