Viewing 15 posts - 121 through 135 (of 137 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 -...
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...
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...
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...
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...
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...
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...
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...
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...
April 14, 2005 at 2:10 am
You might want to check if you have Jey Service Pack 8 for Win 2003 installed
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...
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...
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...
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...
February 8, 2005 at 10:42 am
SELECT * from t Where year(t.testdate)=(year(getdate())-1) and month(t.testdate)=month(getdate())
February 5, 2005 at 7:57 am
Viewing 15 posts - 121 through 135 (of 137 total)