Forum Replies Created

Viewing 15 posts - 12,466 through 12,480 (of 13,460 total)

  • RE: Comparing image data type

    I don't store images in my database, but i do store information about them.

    I wrote a program that gets the CRC of any file, and I store that 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!

  • RE: Is there a script that returns all databases in a domain?

    no, because there's no central resource to ask for the information.

    You'll want to use a utility like SQL Recon to find all the servers in your domain. Besides finding out...

    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: HT Import About 8000+ Text Files from 4 Hard Drive Folders Into SQL Table?

    here's how i would do it if restricted to just using TSQL:

    --a table to loop thru filenames

    CREATE TABLE ALLFILENAMES(WHICHPATH VARCHAR(255),WHICHFILE varchar(255))

    --the source table: yours already exists, but...

    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: Query Analyzer

    Query Analyzer is just an application that gets the data from a SQL Server database. it doesn't contain the scripts. everything is contained in a database on the server.

    typically, you'd...

    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: Query Analyzer

    like Matt said, it depends on what you mean by "integrate into".

    you can add calls to extranal applications int eh toolbar, and there is a project(codeproject.com or planetsourcecode.com , i...

    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: problem querying system tables

    truncating where? in query analyzer? QA has a famous display issue with large varchar columns, it might be the default value of 256 here:

    Tools>>Options>>Results>>Maximum Characters Per Column>>change to 8000

    if you are...

    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: Removing unicode data from fixed width downloaded text

    Is unicode characters the same as high ascii characters?

    this is the only way i could figure out how to do it so far, was with a function that loops thru...

    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: problem querying system tables

    with a copy/paste of your code, i get this error:

    Server: Msg 1540, Level 16, State 1, Line 1

    Cannot sort a row of size 8101, which is greater than the allowable...

    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: Data Transform Script

    creating the tables and migrating the data?

    if exists(select name from db1.dbo.sysobjects where name='mastertable1') drop table db1.dbo.mastertable1

    select * into db1.dbo.mastertable1 from db2.dbo.mastertable1

    just moving new data?

    insert into db1.dbo.mastertable1

    select * from db2.dbo.mastertable1

    left...

    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: Data Transform Script

    if it's just one or two tables, then you'd simply use something like

    SELECT *

    INTO MYTABLENAME

    FROM OTHERDATABASE.DBO.MYTABLENAME

    [WHERE <condition to exclude unwanted data>].

    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: CLR and Performance...

    I'm confused why you can't just use the object that does the encryption in both ASP and .NET; I know in .NET you can invoke vb6 objects, and vb6 can...

    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 a schema diagram from different databases

    it's tough, because the relationships in a schema diagram are based on foreign keys...since you can't have a foreign key that references outside of the database you are looking at,...

    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: M-M Relationships

    how about something as simple as a customer to product relationship?

    many customers might be related to one or more products, and the products might be related to more than one...

    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: Relationship finding script

    I typically use this, which puts them in the desired order, unless you have some circular dependancies where table A references table B, and eventually a chain of them point...

    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: DATABASE PROB

    without specifics, we can't diagnose the problem.

    since this is a general question for now, here's a general answer and things to look for:

    is your application doing SELECT * FROM SOMETABLE,...

    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 - 12,466 through 12,480 (of 13,460 total)