Forum Replies Created

Viewing 15 posts - 13,081 through 13,095 (of 13,460 total)

  • RE: Comprehensive HTML Database Documentation Problem

    I found that to be a great script as well; the only change I made was adding a &nbsp; to the closing </TD> tag so that cells didn't appear wierd...

    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: Column Combination Constraint

    could you add a check constraint that says column2 must be less than or equal to column 1?

    that would prevent 3,2 or 2,1 from inserting.

    that way you enforce the order...

    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: Surrogate keys and GUIDs in AdventureWorks?

    isn't this kind of situation used when you have multiple locations using the identical database, and you need to merge the databases back together at some point? also, i thought...

    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 A SP on a different Db

    i read the question differently: can you execute sp_whatever, that exists on server1, on server 2.

    my answer is that you must copy the proc to the other server. I think...

    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: to calculate the row size of the table in sqlserver ?

    i THINK this sql will list all tables defined row size:  the LENGTH column in syscolumns has the #of bytes used for the column definition; a varchar(30) has 30, nvarchar(30)...

    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: Install of SQL server on Windows XP operating System

    if you try to install the enterprise or standard versions of SQL server on your machine, it will automatically "dummy itself down" to the desktop version / MSDE.

    the full verison,...

    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: create table at run time. Please help!!!!

    what happens when you need to tie all those tables together for a quarterly , semi-annual or yearly report?

    you'll spend a ton of time writing reports or views which work...

    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 Server 2000 VIEWS

    neat; i found out that this is an extended stored procedure when i tried to sp_helptext sp_refreshview.

     

    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: DBO user and sa login?

    users become orphanded based on the SID tied to their login.

    so if you create a user 'Bob' one one server, a unique ID (SID) is assigned to that login; if...

    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: Applying SP4 to SQL 2000

    there is really nothing to it; you download the service pack , open it and it is a couple of NEXT>> buttons;

    it will stop the server automatically,(so don't do it...

    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: Getting A Data Conversion error

    the issue is proably your CleanInput() recordset; if it is returning an empty string instead of NULL or ZERO for things that expect an integer value(like ATTEMPTS) then you'll get...

    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: Interactive Scripts

    Query analyzer does not have the ability to prompt; you end up having to populate variables before you run the script like

    declare @var varchar(50

    set @var='somevalue'

    select form sometable where val=@val

     

    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: Managing Foreign Keys under SQL Server

    another alternative is to DTS the tables in foreign key/dependancy order.

    put the results of exec sp_MSdependencies in a table, and import the tables/views/procs in that order.

    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 audit when statements such as Create Procedure are executed

    all of the log trolling software that is advertised here have the ability to identify and report against DDL changes as well.

    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 Server is aborting. Fatal exception c0000005 caught.

    there's a couple of  knowledge base article that might help: one has to do with raising the # of locks, and the other is due to a denial of service...

    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,081 through 13,095 (of 13,460 total)