Viewing 15 posts - 12,706 through 12,720 (of 13,446 total)
you are right...i get the same results...it runs to completion and returns null.
what are you expecting to get back, though? you don't expect it to return the html as results...
February 9, 2007 at 7:56 am
to run a vbs file dont you need xp_cmdshell 'wscript.exe c:\Name.vbs' as the command?
February 9, 2007 at 7:29 am
function not supported by sql 2000....so you'll write your own function...um...that is also not supported?
I think you mean simply not explicitly written by microsoft...technically all stored procs, functions, views, or...
February 9, 2007 at 7:21 am
curses on cursors! I am appropriately humbled. Thanks for putting me back on the path of enlightenment, Robert; I just couldn't "see" the subselect; nice solution.
February 9, 2007 at 4:37 am
eek I'm gonna say the words " only a cursor can solve this"; while I know cursor is the antithesis to all things SSC, sometimes you have to use the...
February 8, 2007 at 2:29 pm
i'm assuming the procedures return the same number of rows? or it's the same proc with different paramters, or that they return a single value?
Hopefully this will get you started...
February 8, 2007 at 2:13 pm
more than one way to do it, and lots of quick answers; that's why i love this site.
February 8, 2007 at 2:04 pm
remember that a stored proc is really just a formula, just like A2 + B2 = C2;
A,B and C would have a datatype you can discover, but they do not...
February 8, 2007 at 1:59 pm
here's a procedure that you pass the tablename...it cursors thru every column in the table, and if any column is null, adds it to the results table, and finally returns...
February 8, 2007 at 1:45 pm
also, check the actual values:
If rsLogin("UserType") = "user" OR rsLogin("UserType") = "cust" Then %>
if rsLogin("UserType") is NULL, an error would occur. check the table that contains the column UserType and...
February 8, 2007 at 6:03 am
based on the error messge, it sounds like the function is calling a sotred proc in it's body; if you want to send me a priv message witht eh function...
February 7, 2007 at 12:17 pm
I think it's because your server name has single quotes in it, which is invalid. i know you can use double quotes, but not single.
bad: DRIVER={SQL Server};SERVER='ISERVER';UID=sql_dba_link;PWD=MyPwd;Initial Catalog=SQL_DBA
good: DRIVER={SQL...
February 7, 2007 at 11:31 am
does this return a value? this should do the same thing you did when assigning it to the @x variable.
SELECT dbo.fnCalcBusHours( 1, 1, '8/31/2004 10:18:30 PM'
February 7, 2007 at 11:16 am
this might help: it shows each table, and what filegroup a table belongs to. if you only have ONE datafile per filegroup, then the table is contained in that datafile.
if...
February 7, 2007 at 11:05 am
i believe xdate1 is creation date, while xdate2 is last changed date?
this would list all users that havne't changed their pass in >60 days i think. yould probalby use this...
February 7, 2007 at 9:49 am
Viewing 15 posts - 12,706 through 12,720 (of 13,446 total)