Forum Replies Created

Viewing 15 posts - 8,281 through 8,295 (of 13,460 total)

  • RE: Getting my own password in an SP

    nope there's no way, AFAIK.

    your options are to use a trusted connection with their windows login so you don't need the username and password at all,, or to use EXECUTE...

    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 use convert for an alias name of column in case statement

    --edited, as a duped answer that does not 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: RBAR is "A" Modenism???

    i think his new "SQL Spackle" which is code used to fill in the cracks counts as 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: Code to summary row

    For reference, this is readily consumable data: Anyone can copy and paste this sample data into SSMS and then start working.

    i changed all your column names.

    SELECT 1 As OrderID,1 As...

    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: db refresh in test env

    at our shop, it's still starts with the basics:

    backup...restore.

    then a custom script we wrote munges the data....deletes records and child records based on FK hierarchy...which can be a real pain....

    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: Slight Problem :(

    it might take a bit of work, but this article teaches you how to read the transaction log that is in full recovery, but no backups to recover with:

    http://www.sqlservercentral.com/articles/Transaction+Log/71415/

    the author...

    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 read data from mysql to mssql server

    no, you read it right...my attention deficit order only let me read the first eight words of the thread before i came to a conclusion...

    Thansk Paul!

    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: adding 2 numbers

    to get preceeding zeros, you have to decide on the length you want(you said 3 digits in this example)

    and do something like this:

    SELECT RIGHT('00000000' + CONVERT(VARCHAR,(8 + 1)),3)

    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: adding 2 numbers

    Kevin it has to do with datatypes; '008' is not numeric, it's a string, same as 'abc', but when you add it to an integer, it might get converted to...

    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 read data from mysql to mssql server

    linked server syntax:

    Once you have the Linked Server in place I have found a few different ways of interacting with the mysql database:

    Select Statements:

    select * from mysql5...country

    select * from OPENQUERY(mysql5,...

    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 Event Id 9724

    i think the recommended way is to connect via a dedicated admin connection (DAC);

    I belive when you do that, all procs are decrypted automatically when you view them, to assist...

    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 Event Id 9724

    the function below is for SQL 2000 only; if you run it on 2005/2008/R2, all it does is drop teh encrypted procedure, but does not recreate it.

    bjhogan (12/15/2010)


    Check out this...

    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: Conversion failed when converting the varchar value '12.80' to data type int.

    the error is your data types in your first table variable, and the way you are doing your case statements.

    your first table is declared all as varchar(20), but then your...

    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: Conversion failed when converting the varchar value '12.80' to data type int.

    you'll have to show us the procedure; the error itself is not descriptive enough to point out anything obvious.

    the onlything i can offer is that if you are storing that...

    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: SSRS 2008 Crash

    mirravi (12/13/2010)


    Thanks for your reply.

    i need to generate the report and export it to excel , which will have 18 sheets on it.Its an monthly basis report i should run.

    I'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!

Viewing 15 posts - 8,281 through 8,295 (of 13,460 total)