Forum Replies Created

Viewing 15 posts - 3,691 through 3,705 (of 13,460 total)

  • RE: The IT Employee Benchmark

    I actually feel that the number of recent certifications a person has is directly related to how long they've been un-employed;

    I'm guilty of it myself, when one company went...

    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: Add user to sql server with the required permission

    well adding a user and granting permissions are a three part process.

    first you really needed to already have a ROLE in your specific database that has the permissions you 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: In linked server, which server will process data?

    adonetok (4/10/2013)


    Is there any way to set up linked server always run in B without this statement?

    EXECUTE ( 'select * from order.dbo.allorder where city=''london'' ' ) AT ServerB;

    Now that I'm...

    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 find common tables between two databases?

    here's a really easy example:

    --common tables between the two

    SELECT name from SandBox.sys.tables

    INTERSECT

    SELECT name from Dictionary.sys.tables

    --tables only in SandBox

    SELECT name from SandBox.sys.tables

    EXCEPT

    SELECT name from Dictionary.sys.tables

    --tables only in Dictionary

    SELECT name from Dictionary.sys.tables

    EXCEPT

    SELECT...

    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: In linked server, which server will process data?

    MyDoggieJessie (4/10/2013)


    In this scenario Server B processes it, then passes it back to Server A

    i believe that's incorrect:

    i'm pretty sure this code, Executed on server A would copy the entire...

    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: Finding DROPPED Trigger

    if not too much time has passed, they may still be in the default trace;

    there's a built in report that filters by database in SSMS:

    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: ON’Microsoft.ACE.OLEDB.12.0LEDB Error

    your linked server, is it for an excel spreadsheet, or an access database?

    I've never gotten Access to work in Ace / 64 bit, but i've read creating a DSN, and...

    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: T-SQL Help

    i'd consider using row_number() fo5r this one, i htink:

    SELECT * FROM

    (

    SELECT ROW_NUMBER() OVER( PARTITION BY CustId ORDER BY[Actual Date] DESC) AS RW,

    [Next],

    CustId,

    Customer,

    [Scheduled Date],

    [Actual Date],

    [Last]

    FROM [Customer]

    ) MyAlias

    WHERE RW = 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: TSQL help

    i couldn't see how to get the data filtered either;

    it seemed like maybe the Nextdate, but that doesn;t match your total criteria; maybe by NextCompany,Location?

    i cannot see why you 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: Linked Server Setup Always Creates a Loopback

    LinkSvrName?

    I know you are obfuscating this, but you didn't provide the other information I mentioned at all.

    What the name of the server you are running this code on?

    Is the "remote"...

    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: Different editions on same host

    maybe this?

    http://social.technet.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/04f9eab4-907d-400c-b15c-710fd2f972e0

    SQL server tools / client components , integration services and browser are MACHINE aware - ie) 1 per machine.

    SQL database engine , analysis services and reporting services are instance...

    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: Linked Server Setup Always Creates a Loopback

    more details are needed to really help, i guess;

    maybe there's a custom entry in the hosts file:

    from a commandline, notepad.exe %SystemRoot%\system32\drivers\etc\hosts

    in that extension-less hosts file, maybe someone has put 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: Create table Using the Structure and Data from the Dynamic SQL

    sudhirnune (4/9/2013)


    Tanks Lowwel, it is perfectly working.

    But my problem is that I may not be able to use the Global Temp table.

    Can we Have the local temp / Genral table...

    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: Create table Using the Structure and Data from the Dynamic SQL

    i edited the post, so re-copy it and try again.

    the line for the global temp table should have been here:

    set @query = 'SELECT name, ' + @cols2 + ' ...

    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: Create table Using the Structure and Data from the Dynamic SQL

    i guess something like this, where you insert into ##GlobalTable would give you the results as a table so you can update from it later.

    DECLARE @cols AS NVARCHAR(MAX),

    @query AS NVARCHAR(MAX),

    @cols2...

    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 - 3,691 through 3,705 (of 13,460 total)