Forum Replies Created

Viewing 15 posts - 4,186 through 4,200 (of 13,460 total)

  • RE: Export to CSV?

    ahthomas (1/2/2013)


    I have a script that writes data to a temp table. I need to automatically export this to a csv located at a UNC destination. How do I write...

    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: Export to CSV?

    ahthomas (1/2/2013)


    I have a script that writes data to a temp table. I need to automatically export this to a csv located at a UNC destination. How do I write...

    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 install an oracle linked server on SQL Server 2008 r2 failover cluster manager

    SQLCrazyCertified (12/31/2012)


    Hi Lowell,

    I don't exactly follow all the steps you mentioned above.

    Can you please provide step by step for example, I want to create a

    Linkedserver from SQL to Oracle.

    What...

    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: sp_OAGetProperty @obj, 'responseText', @response OUT cannot handle large output

    mmilodragovich (12/30/2012)


    Hi Lowell,

    This will solve a problem I am having.

    Are you able to share your WebReader.zip again?

    Thanks in advance.

    my original link in the other article is still good, 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: Using ::fn_dblog() to find who deleted the rows in a table.

    arnipetursson (12/28/2012)


    If you have default trace records from around the time of the delete, you may be able to compile a list of suspects. Hopefully you do not too...

    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: Help with SQL update

    the key is what criteria to use to find that 1200, or whatever the number actually is;

    Create table dbo.UFM_AGENTS (

    TS_ID ...

    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: Creating a trigger

    your trigger needs to refer to a table, just like any other SELECT statement does;

    when inside a trigger, you need to use the virtual tables INSERTED or DELETED, depending on...

    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: Using a Project to collect documents besides scripts

    i have no problem doing this in either SSMS or Visual Studio; for me it's very common for documentation and help files to be included.

    you just right click 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: How to copy the structure of a database?

    I think the issue is SSMS itself tends to require higher level permissions than you'd think would be required. if you access SMO directly(like from powershell) , ddl_admin or even...

    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: Table and SP cannot have same name

    reminds me of horrors like this:

    CREATE TABLE [SELECT]([SELECT] INT IDENTITY(1,1) NOT NULL PRIMARY KEY )

    SELECT [SELECT].[SELECT] FROM [SELECT] WHERE [SELECT] = 1

    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: Update local table from linked server (Excel file)

    this is typically how i do it.

    1. do a full backup, just in case.

    2. SELECT the rows that in theory, should be affected...we might get a specific row count...

    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: Table and SP cannot have same name

    Shadab Shah (12/21/2012)


    Al right .But they are totally different object . I mean to say one is a table and another SP. So that means you are saying that 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: Table and SP cannot have same name

    That is an expected error that you will get used to once you get started with SQL.

    object names must be unique, otherwise the system cannot map your queries to 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: pattern matching?

    wow, thats going to be tough;

    the only thing i could think of was a combination of opc.three's example, and joining it against a list of common suffixes to find potential...

    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: EBook Performance Tuning with SQL Server DMV

    I've seen that situation where they are using CHAR(160) , which is a fixed width character that *looks* like a space, but isn't a REAL space (CHAR(32))

    if you use 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!

Viewing 15 posts - 4,186 through 4,200 (of 13,460 total)