Forum Replies Created

Viewing 15 posts - 5,791 through 5,805 (of 13,460 total)

  • RE: CLR Deployment - DLL Location

    well, i have a shared web server out there somewhere, so i throw my screenshots there, and link directly to them.

    so if you are not linking to an image 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: SQL User password stopped working with no trace of what happened

    Login Failed for user '' looks a lot more like a blank username was passed to the server, rather than the password changing.

    otherwise i'd expect the error to say Login...

    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: Linked server

    SQLKnowItAll (3/14/2012)


    Taking a stab... I think the OP is asking if there is a way NOT to use a linked server to gather data from another server for the view....

    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: Why I am getting this cursor error? I don't think there should be an error.

    the error is here: one column is missing a comma, so the field is used ans an alias instead:

    TechOwner_Transit,

    TechOwner_Department

    Tech_Vendor,

    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: AES encrypted column

    to check that one, specific value, this will do what you ask, but you must change the "StrongPassword" to whatever the key is the developers gave you:

    USE tempdb;

    -- create symmetric...

    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: alter table name error and table column

    sql renames tables via a stored procedure..the syntax you are using is appropriate for Oracle only, i think.

    sp_rename 'OriginalTableName','NewTableName'

    --or

    -- if you have two items with the same name but different...

    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: AES encrypted column

    krypto recopy my post, i edited it to use all nvarchar(max) columns; DESX uses varbinary as the cypher results, but AES is still text, so i tweaked and re-tested, and...

    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: AES encrypted column

    here's exactly how i've done it, along with the link i used to build my model.

    I used DESX, and changed the code below to AES_128.

    note AES requires Server 2003.

    --http://www.4guysfromrolla.com/articles/022107-1.aspx

    -- use...

    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 Deployment - DLL Location

    After you've deployed it once, you can script the assemblies out, just as Nils is describing;

    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 indexes as CREATE INDEX statements

    Paul take a look at this post here in the Discussions thread;

    http://www.sqlservercentral.com/Forums/FindPost1079779.aspx

    That post ( a few posts above this) has a much more modern scripting style that correctly takes into...

    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: Need a T-SQL Script to create millions of rows

    Cadavre (3/14/2012)


    This will create 1,000,000 rows of pseudo-random unique firstName, secondName, e-mail address and mail address.

    I like your example Cadavre, but there's a possbility of creating names that contain unintenteded...

    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 create Rule or Trigger for Object Names

    you could do it with a suite of DDL triggers, but would it not be easier to tell the developers not to do it.

    it seems a little extreme to do...

    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: Need a T-SQL Script to create millions of rows

    sure just add something simple like Firstname + '.' + Lastname + '@fake.com' to generate John.Smith@fake.com

    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: Altering the collation at a database level

    no tool, documented or not that i ever saw to do this;

    i've had to script this out manually, which is a bitc...er i mean .. rather involved.

    here's my old mental...

    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: Linked serve limitation

    John Chiu (3/13/2012)


    Application group like 'control' and don't want use SSIS

    ahhh they are scared of the claw SSIS!

    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 - 5,791 through 5,805 (of 13,460 total)