Viewing 15 posts - 2,341 through 2,355 (of 3,678 total)
In other words it allows you to use worst practices
August 3, 2006 at 7:25 am
I think you are running into the ISNUMERIC issue where it returns 1 even when the number is not strictly numeric.
ISNUMERIC allows certain non-numeric characters to be identified as numbers.
E...
August 3, 2006 at 6:26 am
So basically your management are asking you to run a marathon but have chopped off your legs?
August 3, 2006 at 2:14 am
If all your view does is a select of all columns with no WHERE clause then the only reason I can think of for doing so is to provide a...
August 3, 2006 at 2:11 am
Are you talking about UK counties?
There are only 86 counties in the UK so it is probably quicker and cheaper to derive the data yourself. http://www.abcounties.co.uk/counties/map.htm
August 2, 2006 at 10:08 am
Are you talking about UK counties?
There are only 86 counties in the UK so it is probably quicker and cheaper to derive the data yourself. http://www.abcounties.co.uk/counties/map.htm
August 2, 2006 at 10:08 am
You need to allow for
CHAR(9) = TAB
CHAR(10) = LF (Line Feed)
CHAR(12) = FF (Form Feed)
CHAR(13) = CR
DECLARE @ControlCode VARCHAR(1) , @WhereClause VARCHAR(3) SET...
August 2, 2006 at 7:59 am
Years ago I started off prefixing tables with tbl, views with vw etc but moved away from doing that when I found I needed to replace a view with a...
July 31, 2006 at 12:45 pm
You need to look at AWE memory.
July 31, 2006 at 9:59 am
If you look in sysaltfiles within the master database check the size * 8/1024 for the size in MB.
It certainly works for TEMPDB however, if your database was built without...
July 31, 2006 at 9:33 am
SELECT * FROM syscolumns where id=object_id('dbo.yourtable')
July 31, 2006 at 9:11 am
One problem I have had with IDENTITY columns is that when I use the
SET IDENTITY_INSERT dbo.tblAnswer ON INSERT INTO dbo.tblAnswer(fields....) VALUES(...) SET IDENTITY_INSERT dbo.tblAnswer OFF
The identity...
July 31, 2006 at 2:33 am
Yes it is possible.
Simply use fully qualified names for your objects.
Northwind.dob.orders (database.owner.object)
If your databases are on different boxes then you can use BEGIN DISTRIBUTED TRANSACTION.
ROLLBACK and COMMIT are the same...
July 31, 2006 at 2:06 am
select
object_name(i.id) AS TableName,
c.name as FieldName,
I.Name AS IndexName ,
objectproperty(object_id(i.name),'IsPrimarykey') AS IsPrimaryKey
from sysindexkeys as ik
inner join sysindexes as i
on ik.id = i.id
and ik.indid = i.indid
inner join syscolumns as c
on ik.id...
July 27, 2006 at 6:40 am
Viewing 15 posts - 2,341 through 2,355 (of 3,678 total)