Viewing 15 posts - 13,291 through 13,305 (of 13,451 total)
here is a script to run on your instances to find out what port it is using.
CREATE TABLE #GetPort
(
token varchar(100),
value varchar(20))
go
DECLARE @inst varchar(200)
DECLARE @inst1 varchar(100)
--Determine registry path and key
IF(charindex('\',@@servername) >...
August 19, 2005 at 10:22 pm
Thanks Remi; that got me over the hump; here's an example of a pretty complex table that my function returns the ddl as an example:
it still needs some work, because...
August 19, 2005 at 10:42 am
just wanted to flesh the background of the question out for some less knowledgable readers:
you can "pin" a table, or mark it so that it's contents are held in memory,...
August 18, 2005 at 7:23 am
by default i think the datatype selected for a datetime conversion is smalldatetime, and it really needs to be datetime.
change datatype on column 4 to datetime, and also any other...
August 16, 2005 at 10:07 am
i think that you can simply tell them that it is the industry standard and also against best practices to modify system tables.
That should be enough, in my opinion...some...
August 16, 2005 at 6:02 am
another thing could be the definition of the import table, or a convert function:
a varchar field, if no size is given defaults to 30 characters.
select convert(varchar,'This value is actually 44...
August 11, 2005 at 8:10 pm
EM is not a catch all edit all editor; it does a good job on many things, but not all things.
making a grid that could allow the editing of a...
August 11, 2005 at 8:01 pm
are you sure about the floor function returning an approximate number? the BOL says it returns the integer portion of the value, and returns it as the same data type.
I...
August 11, 2005 at 10:41 am
yet another version:
declare @m as money
set @m = 200.2365
select floor((@m * 100)) / 100
results:
200.2300
August 10, 2005 at 8:35 am
I'll tell you, i love this distraction; Scott's function works well, but I seem to get a much smaller result set than Dewaynes.
I used this SQL to find items within...
August 9, 2005 at 9:30 am
sorry; i wanted the conversion for the distance calculation to miles; the "distance" column is a value, but i don't know what kind of units it's supposed to be.
i don't...
August 9, 2005 at 8:01 am
ok i have that same zipcode database , and this SQL seems to work:
select SQRT(POWER((38.492497 - latitude),-2) + POWER((-121.404807 - Longitude),2) ) as distance ,zipcodes.* from zipcodes
where SQRT(POWER((38.492497 - latitude),-2) ...
August 9, 2005 at 7:45 am
there's nothing wrong with using the IN operator and having only one item in the selection list:
so if [#ABN_RUInput] only has one row witht he value 220056 , it...
August 8, 2005 at 8:38 am
Viewing 15 posts - 13,291 through 13,305 (of 13,451 total)