Forum Replies Created

Viewing 15 posts - 9,271 through 9,285 (of 13,460 total)

  • RE: Passing a executed t-sql line to a trigger...

    another option would be Merge Replication, now that i'm thinking about it;

    changes would get shipped out on a regular basis, and once set up, you do not have to fiddle...

    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: Format the data in table

    i think something like this would be better: it's set based, so it's fast, and if the data doesn't start with the offending char, it's not adversly affected:

    --remove preceeding semi...

    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: Passing a executed t-sql line to a trigger...

    John Waclawski (6/10/2010)


    I've been tasked to create a INSERT/UPDATE trigger for SQL Server 2000 to fire off the same INSERT/UPDATE statement to a corresponding table on a SQL Server...

    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: Programming an installation script

    'Imports System.IO

    Private Sub btnSQLSplitter_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSQLSplitter.Click

    Dim myConnectionString As String = "data source={0};user id={1};password={2};initial catalog={3};Trusted_Connection=False;Application Name=SSCExample.YouApplicationName.exe;"

    myConnectionString...

    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: Programming an installation script

    n00b (6/10/2010)


    We're developing a product and I've created a .sql script that creates the database, tables, stored procedures, all the Service Broker configurations etc etc. The script itself works perfectly...

    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: Security to Run DDL statements only via SSMS

    indupriya9 (6/9/2010)


    I have a scenario where a user has access via a CRM application that is sql server based. This same user needs Management Studio access where I want...

    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 load zipped text file ?

    well it depends.

    if load = put the binary of the zip file into an IMAGE/varbinary(max) column, then that's possible.

    if load dmeans open the zip/get the(one or more files!) from 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: can't add ADD CONSTRAINT

    Krasavita (6/9/2010)


    I just re created table and I am ok,bit can't add data, what I need to do in order to insert data,should I disable a key and then re...

    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 change collation of msdb?

    well, tempdb is a copy of the model db every time the server is started, so changing the model db would change the temp db after a start and stop.

    ALTER...

    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 random characters

    here you go Matt: this is using a function which strips the string down and removes unwanted chars;

    take a look at the logic, and see if you understand how it...

    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: copy the select results into text file

    purushotham.k9 (6/9/2010)


    Actually i am selecting the data in stored procedure. from stored procedure it self i need to upload the data into text file with | delimeter

    In that case, look...

    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: copy the select results into text file

    if you use an enhanced text editor like EditPlus,NotePad++,UltraEdit or one of many others, you can do it in a couple of seconds flat:

    copy and pasting from grid view of...

    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: user creation

    so much of what you want depends on specifics...the types of logins,which procs, whether they can read form an tables or not, etc, but this might give you some ideas.

    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: Why can't I connect to 2 sql servers with SSMS, but others can?

    Wayne it's been a while, but i had a similar issue;for me, it was my laptop, which traveled between different networks a lot. i thought it was related 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: xp_cmdshell and TableDiff.exe

    Karl in your case, since Tablediff takes username/password parameters for the servers it will compare, you could just include those and not have to fiddle with the startup accounts, 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!

Viewing 15 posts - 9,271 through 9,285 (of 13,460 total)