Forum Replies Created

Viewing 15 posts - 5,881 through 5,895 (of 13,460 total)

  • RE: Login to provide with Database creation and Import rights

    mail.baberkhan (2/28/2012)


    BULKADMIN

    BULK INSERT administrators. Can load data into tables using BULK INSERT statement.

    Database administrators responsible only for loading data through BULK INSERT. Data import specialists.

    So With Bulk Admin rights...

    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: Trigger or Insert issue: Not generating the correct data

    ram_kamboz2k7 (2/28/2012)


    Hi

    Thank you for that, it works perfectly.

    However, the TelephoneNumber field still does not appear when the trigger fires into out__calllist.

    wierd; how is the data being inserted into the out_dialler_calllist...

    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: Trigger or Insert issue: Not generating the correct data

    if you declare a varchar/char/nvarchar with out a size, it is a single character.

    only in a cast/convert is it 30 chars without the size declaration.

    declare @var varchar

    declare @var2 varchar(50)

    besides 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: Data from table different from view

    Brian Kukowski (2/27/2012)


    I'd like to know some examples of what Microsoft considers 'unexpected results'

    the unexpected results is just what Alexander is experiencing; but this is technically a known behavior.

    his expectation...

    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 transactions

    ok , so if it's async, i'm assuming the data values have been inserted or updated to some table, and then the service broker is getting called....in a trigger,...

    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_MSForEachTable with sp_Depends

    andrew do any of these DMV's help you get the iinfo you are looking for?

    select * from sys.sql_expression_dependencies --(2008 +)

    select object_name(id) as MyObject,object_name(depid) as ReferencedObject,* from sys.sysdepends ...

    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 transactions

    kramaswamy (2/27/2012)


    Hi all,

    Got a situation which I'll simplify into the following question. Let's say I have this block of code:

    CREATE TABLE TestTable (ID INT, Val VARCHAR(20))

    BEGIN TRANSACTION

    INSERT INTO TestTable (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: Long Parameter Lists

    If you had massive amounts of data like L' Eomot Inversé 's example, I'd think that using .NET or ADO to bulk insert would be the solution;

    accumulate the data locally...

    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 help on transfer/copy all db objects....from 1 server to another In real time experience way

    backup and restore are the best solution i think.

    it will copy all objects perfectly that exist inside the database...that' distinctino is important, because you asked about:

    will to copy all db...

    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: BUILTIN\Administrators login doesn't appear to be working.

    adding the login is not enough...did you add them to the server role as well;

    something like this is what you are after, i think:

    --Add/Restore Restore Builtin\Administrators

    EXEC sp_grantlogin 'BUILTIN\Administrators'

    EXEC sp_addsrvrolemember...

    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: AFTER INSERT Trigger not firing

    your trigger will only handle one row; so if the applicaiton inserts or updates multiple rows, you will not get all teh changes.

    something like this is probably pretty close 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: Calling SP through SSMS vs .NET app

    there we go;

    a see a few things that can help improve perforamnce;

    first, it's designed to be a catch all query;

    read Gails article on the performance issues here:

    http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/

    i see there's...

    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: Incrementing a table name

    Jeff Moden (2/25/2012)


    Actually, there's a valid reason for doing such a thing as what the OP wants to do. It makes maintaining indexes much easier and quicker and 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: Calling SP through SSMS vs .NET app

    the code might be the same, but the execution plan is not.

    that's the definitive way to review it...get the execution plan from each server, and compare them. post them here...

    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: Calling SP through SSMS vs .NET app

    SQL_Surfer (2/25/2012)


    Another clue. SP makes use of a table variable. Does changing it to temp table will help? The same sp on another server returns data to the app within...

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