Viewing 15 posts - 481 through 495 (of 907 total)
I think even when you are casting the getdate() function as a datetime variable, you are really only passing a string to the udf, and the udf is doing the...
December 11, 2002 at 9:36 am
I'm guessing this BOL statement is why:
...Built-in functions that can return different data on each call are not allowed in user-defined functions.....
Now you could do the following:
declare @MonthToRun as datetime
select...
December 11, 2002 at 9:22 am
You might try a tool like log explorer:
http://www.lumigent.com/products/le_sql/le_sql.htm
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples
December 11, 2002 at 8:38 am
You may want to check out: http://www.iss.net
They have a product call DBSCANNER that scans SQL Server reporting security vulerabilities.
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my...
December 11, 2002 at 7:38 am
I like this one! Much better than my hack.
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples
December 11, 2002 at 7:31 am
Try this hack:
select a.*
from loadinfo a
left join (
select distinct b.agencycode from
(SELECT count(*) as count,agencycode, OriginCity+DestCity x, OriginState+DestState y from loadinfo
group by AgencyCode, OriginCity+DestCity, OriginState+DestState ) b
join (select...
December 10, 2002 at 4:05 pm
Don't think Antares686 example works if a giving load, picked up in a single origin city, has multiple destinations in different cities and states, where at least one destination is...
December 10, 2002 at 3:46 pm
Isn't this date changed anytime a block is written to the MDF file?
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples
December 10, 2002 at 3:09 pm
Not my experience. Look here for additional information:
http://support.microsoft.com/default.aspx?scid=kb;en-us;263556
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples
December 10, 2002 at 2:02 pm
Possibly something like this might work for you.
create table LoadInfo(
Company# char(4),
AgencyCode char(3),
LoadNumber int,
OriginCity varchar(25),
OriginState char(2),
DestCity varchar(25),
DestState char(2))
insert into LoadInfo values ('LDWY', 'XYZ', 11010, 'ONEILL', 'NE', 'CLEVELAND', 'OH')
insert into...
December 10, 2002 at 12:41 pm
Very interesting definition, of byte not exactly what I thought, all based on machine you working on. I'm sure someday a byte as we know it today will change.......hopefully...
December 10, 2002 at 11:22 am
What popuptext are do you want returned when the tblapptranslation does not have have a matching language and appname?
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my...
December 10, 2002 at 8:10 am
Thanks for the explaination Antares686. I'm not sure I agree with the last sentence, but I think I get your point.
Guess I'm from the old school where a...
December 10, 2002 at 8:01 am
My point exactly. Unicode will require more pages, therefore more I/O bandwidth, and hence slower performance if used, when not needed.
Gregory Larsen, DBA
If you looking for SQL Server Examples...
December 10, 2002 at 7:29 am
OH, shutdown the server. Well then you might want to look at the SHUTDOWN command in BOL.
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my website...
December 9, 2002 at 1:05 pm
Viewing 15 posts - 481 through 495 (of 907 total)