Viewing 15 posts - 121 through 135 (of 138 total)
Looking at your SQL it appears you are tring to find BP_BusinessNature cols with a value 1 in them where the field holds a comma separated list of values -...
James Horsley
Workflow Consulting Limited
May 3, 2005 at 4:44 am
Cindy is right - but should probably also have said UNION ALL is much quicker as SQL does not have to search for duplicates - so if you don't need...
James Horsley
Workflow Consulting Limited
April 28, 2005 at 5:17 pm
You probably want to change def of proc to
CREATE PROCEDURE missing_iconnt_data(@p_sitecode INTEGER = Null,@p_fromsalesdate DATETIME,@p_tosalesdate DATETIME)
This means that if @p_sitecode is not specified it will take value Null
Your WHERE then...
James Horsley
Workflow Consulting Limited
April 26, 2005 at 12:00 am
Beware of changing the database collation - SQL 200 very helpfully does NOT change the collation of individual columns when you do this - they all remain as the old...
James Horsley
Workflow Consulting Limited
April 25, 2005 at 11:51 pm
You don't say what front end you are using that gives this problem - if it is Query Analyzer just use
Tools/Options and adjust the Maximum Characters Per Column setting
If it...
James Horsley
Workflow Consulting Limited
April 25, 2005 at 11:45 pm
They are also very useful if you are trying to capture changes to some particular data fields to apss through to other databases to allow data links between databases for...
James Horsley
Workflow Consulting Limited
April 25, 2005 at 11:39 pm
I assume your file is always abcYYYY_MM_DD.txt - in which case use an ActiveX script as first step in the DTS job to make up the file name (you can...
James Horsley
Workflow Consulting Limited
April 14, 2005 at 2:20 am
It probably serves you right as it is not a great idea to do something as slow as a cross server insert from something that really needs quick and tidy...
James Horsley
Workflow Consulting Limited
April 14, 2005 at 2:15 am
Of course if the data structure was better normalised it would be easier - i.e. the ScheduleTime's should be in a linked table if there is more than one possible...
James Horsley
Workflow Consulting Limited
April 14, 2005 at 2:10 am
You might want to check if you have Jey Service Pack 8 for Win 2003 installed
James Horsley
Workflow Consulting Limited
April 13, 2005 at 2:18 am
It definitely was possible to restore just a table in SQL 6.5 - it was a great choice in some circumstances esp when DB was large so retoring whole DB...
James Horsley
Workflow Consulting Limited
April 12, 2005 at 8:26 am
I have seen the "no databases visible in Enterprise manager" issue before - I have a notebook computer that I sometime run database on with the databases located on a...
James Horsley
Workflow Consulting Limited
March 3, 2005 at 2:02 am
If you are talking about pulling the network cable out of one switch and plugging it into another then in my experience you can get away with doing this (I...
James Horsley
Workflow Consulting Limited
March 3, 2005 at 1:56 am
ADO streams are the way to go - below is VB6 code to do this
Dim cn As New ADODB.Connection
Dim cmd As New...
James Horsley
Workflow Consulting Limited
February 8, 2005 at 10:42 am
SELECT * from t Where year(t.testdate)=(year(getdate())-1) and month(t.testdate)=month(getdate())
James Horsley
Workflow Consulting Limited
February 5, 2005 at 7:57 am
Viewing 15 posts - 121 through 135 (of 138 total)