Viewing 15 posts - 13,051 through 13,065 (of 13,445 total)
there is a plug in for source safe on this site which keeps all the DDL in source sage for you; you could use that application as far as source...
May 11, 2006 at 9:01 am
here's another way to get them by using a cursor to enumerate the procs, and simply using sp_helptext:
declare
@isql varchar(2000),
@provname varchar(64)
declare c1 cursor for select name from sysobjects where name not...
May 11, 2006 at 7:48 am
the GUI doesn't let you browse to, or paste a UNC path; so to use the GUI, you MUST map a drive; if the problem was a scheduled job, then you...
May 11, 2006 at 7:32 am
from http://www.windowsitpro.com/Article/ArticleID/14025/14025.html
|
May 11, 2006 at 6:54 am
there's a difference between a primary key, which technically can span multiple columns, and a column that has the identity function on it to auto generate the next value of...
May 11, 2006 at 6:36 am
i didn't think actual database backups were labeled with a version... i thought only the server had an @@version, and the data was always backed up to an 8.00 version,...
May 10, 2006 at 3:37 pm
In our shop, we have an application that uses either a SQL Server or Oracle database. As a result, we have lots of dev servers with SQL or oracle, or dev...
May 9, 2006 at 11:56 am
i'm under the impression that SQL7 must be installed first as a default instance.
after that is installed, you could install either/both SQL2000 and SQL 20005 as named instances on the...
May 5, 2006 at 10:50 pm
i think any error raised with a level above 16 would fail, so in any script, you could simply add this line:
RAISERROR ('Testing to see if a job fails for...
May 5, 2006 at 9:06 am
it also looks like the variables required are available in the third function; in that case it might look more like:
FROM (SELECT * FROM dbo.
May 4, 2006 at 10:28 am
the problem is your FROM statements in function 3:
FROM dbo.fnWTRCenPrtDivData INNER JOIN
dbo
.fnWTRTerrierData ON fnWTRCenPrtDivData.
May 4, 2006 at 10:19 am
create function ufn_test(
@name1 varchar(30)='Walmart',
@name2 varchar(30)='cookies')
returns varchar(255)
BEGIN
return 'I go to ' + @name1 + ' to buy ' + @name2
END
GO
SET NOCOUNT ON
select dbo.ufn_test (default,default)
select dbo.ufn_test ('Sears',default)
select dbo.ufn_test ('Sears','wrenches')
May 4, 2006 at 8:47 am
typically you get the results of a function like this:
select dbo.fnWTRCenPrtDivData(param1,param2)
if any of the parameters are supposedly optional, where they assume a value, you need to use the...
May 4, 2006 at 8:41 am
there's a few issues here:
a stored proc isn't going to return a set or records from a different database unless you explicitly refer to the database:
select * from master.dbo.cities
if itis...
May 4, 2006 at 8:38 am
almost, i replaced every </TD> with </TD> as there are a few places where the cells have no contents; they render as <TD></TD>, so they don't look right in the...
May 4, 2006 at 8:22 am
Viewing 15 posts - 13,051 through 13,065 (of 13,445 total)