Viewing 15 posts - 31 through 45 (of 133 total)
Full Text Index is for "Text Fields" rather than "Full Index" -
you would have to define ALL columns that are in the table as an index key.
September 16, 2013 at 6:38 am
It does depend on the amount of transactions that are happening within the tables / applications.
I would suggest that the T-LOGs are backed up every hour or even every 2...
September 16, 2013 at 5:24 am
by doing the SELECT DISTINCT - you will only get the DISTINCT records returned from the SELECT statement.
Any Index violations would be eliminated by the SELECT.
Hope this helps ?
September 16, 2013 at 5:18 am
something like this -
insert into NEWPostCodesAndAddressesBt
(
Postcode varchar(10) ,
BuildingName varchar(200),
housenumber varchar(20) ,
SubBuilding varchar(100) ,
County varchar(100),
Town varchar(100) ,
LocalName varchar(100) ,
PostOutCode varchar(100),
PostInCode varchar(100),
Throughname varchar(100),
Throughdesc varchar(100),
poboxno varchar(100),
BusinessName varchar(200),
locality varchar(200)
)
select
DISTINCT
Postcode varchar(10) ,
BuildingName varchar(200),
housenumber...
September 16, 2013 at 5:17 am
Mick,
sorry - script for above .. ( well start of )
Update PostCodesAndAddressesBt
SET Postcode = 'N/A' Where Postcode is NULL
Update PostCodesAndAddressesBt
SET BuildingName = 'N/A' Where BuildingName is NULL
Update PostCodesAndAddressesBt
SET housenumber =...
September 16, 2013 at 4:45 am
Right - so we could start by populating the "NULLS" with "Blanks" ?
This can be easy - just do ;
Update Table
set field1 = ' ' where field1 is null
you could...
September 16, 2013 at 4:41 am
Hi Mick,
Sorry - looks like the results show the ID and just a counter - I will have another look at this. Not sure what the scripts were going to...
September 16, 2013 at 4:27 am
This should give you a result set - that shows where the records are NOT unique - ie. Greater than One
So these will need to be made unique for your...
September 16, 2013 at 4:14 am
Hi,
This one works;
;WITH Deleter AS (
SELECT
ID,
rn = ROW_NUMBER() OVER(ORDER BY Postcode,BuildingName,housenumber,SubBuilding,County,Town,
LocalName,PostOutCode,PostInCode,Throughname,Throughdesc,poboxno,BusinessName,locality)
FROM PostCodesAndAddressesBt
)
SELECT *
FROM Deleter
WHERE rn > 1
September 16, 2013 at 3:46 am
Sounds like you need to create a Pivot Table and groupings with a count of number months at zero ....
I will look into an example as this is something already...
September 13, 2013 at 1:12 am
Unfortunately it is a 3rd party warehouse - so therefore a different system and we have to provide a CSV file for them to import.
I have been toying with the...
September 12, 2013 at 7:28 am
Yes - you can do a select into, and do a case when login per field - as its a one off pain at first but then its done
September 12, 2013 at 6:50 am
I am assuming that because you think it is a system SP - you have not created any or someone else in your organisation has not created ?
If you check...
September 12, 2013 at 5:57 am
Are you trying to restore the database over the LIVE or restore to a point in time ( from a backup )to a different database so you can do some...
September 12, 2013 at 5:32 am
Viewing 15 posts - 31 through 45 (of 133 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy