Forum Replies Created

Viewing 15 posts - 13,066 through 13,080 (of 13,460 total)

  • RE: Subversion with SQL SRVR- How to manage SP AND TABLES

    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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: script all stored procedures into one file

    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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Want to back up over LAN - how do I get SQL to see network drive?

    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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Want to back up over LAN - how do I get SQL to see network drive?

    from http://www.windowsitpro.com/Article/ArticleID/14025/14025.html

    Why can't I backup/restore my SQL Server database to a share on another server?

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: How to find out the identity coloumn of a table.

    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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Upgrade SQLSERVER from 8.00.194 to 8.00.818

    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,...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Running SQL and Oracle on the same server?

    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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: SQL 2000 and SQL 7.0 on same server

    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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Statement in script to cause job to fail

    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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Temporary Function Parameters

    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.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Temporary Function Parameters

    the problem is your FROM statements in function 3:

    FROM dbo.fnWTRCenPrtDivData INNER JOIN

    dbo

    .fnWTRTerrierData ON fnWTRCenPrtDivData.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Temporary Function Parameters

    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')

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Temporary Function Parameters

    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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: is it possible to return 2 record sets from a single stored procedure?

    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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Comprehensive HTML Database Documentation Problem

    almost, i replaced every </TD> with &nbsp;</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...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 15 posts - 13,066 through 13,080 (of 13,460 total)