Forum Replies Created

Viewing 15 posts - 6,661 through 6,675 (of 7,164 total)

  • RE: Problems connectiong to SQL Server 2008 R2 Express via remote .VBS script

    paul-941374 (4/14/2011)


    Does SQL Server Native Client just need to be on the machine that is running MSSQL Server?

    If so it should be install by default I believe.

    "Microsoft SQL Server Native...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Problems connectiong to SQL Server 2008 R2 Express via remote .VBS script

    Object required means the instance of the COM object could not be created. Please verify that the 2008 SQL Native Client has been installed on the remote machine.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Urgent-------Export all tables in a schema to multiple textfiles in a pipe delimited format

    xp_cmdshell calling bcp....yuck!

    Write a PowerShell script to (1) get the list of tables from sys.tables (2) loop over the list of tables and call bcp for each one.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Problems connectiong to SQL Server 2008 R2 Express via remote .VBS script

    You are using the wrong driver. Try this connection string:

    "Driver={SQL Server Native Client 10.0};Server=" & srv & ";Database=" & db & ";Uid=" & uid & ";Pwd=" & pwd & ";"

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Problems connectiong to SQL Server 2008 R2 Express via remote .VBS script

    If you specify the port you do not want to specify the instance name. IIRC SQL Server Native Client treats instance name with a higher precedence so in supplying them...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Problems connectiong to SQL Server 2008 R2 Express via remote .VBS script

    The fact that you can telnet to port 1433 from a remote machine but cannot reach it using the instance name from a remote machine says to me that the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Data from dataset to destination server table

    RamSteve (4/14/2011)


    Hi !

    Can some one guide me how to implement power shell scripts using the SSIS development ,as i need to run on all my present servers(around 300) to get...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Converting Text to XML

    You are probably running into an issue with the encoding attribute of the XML declaration tag within your strings. If it looks like this:

    <?xml version="1.0" encoding="UTF-8" ?>

    You either need to...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Create a new field in between two other existing fields

    sturner (4/14/2011)


    The ordering of the columns as they appear in a table definition script is cosmetic, they are organized internally in a way that is best for SQL.

    Your statement is...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Data from dataset to destination server table

    I just ran across this article and thought it might be of use if you have not arrived at a solution yet. The author is solving a portion of your...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: the account to create database

    annasql (4/12/2011)


    So what you do is a simple step like below:

    USE dbname

    EXEC sp_changedbowner 'sa'

    Is that correct?

    The note at the top of this article http://msdn.microsoft.com/en-us/library/ms178630.aspx says sp_changedbowner will be removed in...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Creating Delimited Strings

    The attachment contains the complete VS2010 solution and a deploy script which will allow you to deploy the CLR objects without using VS2010.

    Enjoy 🙂

    SET STATISTICS TIME OFF ;

    GO

    SET NOCOUNT ON...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: the account to create database

    Yes, it can cause problems. Here is a good thread on the topic: http://www.sqlservercentral.com/Forums/FindPost949846.aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: the account to create database

    Windows Authentication is preferred, however if you do not have it setup for easy use then create a separate SQL Login for yourself and add it to the sysadmin Fixed...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Search Tables for Matching GUID

    Dan, are you thinking of the row ID SQL Server uses internally? I don't think we can touch those through the standard means anyway. Some people explicitly use GUIDs as...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 6,661 through 6,675 (of 7,164 total)