Forum Replies Created

Viewing 15 posts - 8,446 through 8,460 (of 13,460 total)

  • RE: Linked Servers

    i'm not a network expert, but if you have two different domains, the login mydomain\Lowell has no priviledges, and vice versa: the login yourdomain\AK1516 has no rights to anything 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: Linked Servers

    unless you have a trust set up between the two domains, you'll have to set up the linked server using a SQL login. you would not be able to pass...

    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: Select * from a table with one billion rows failing

    note that even if the table with a billion rows had two columns, an ID and a varchar(30) for a name or something(38 bytes of data per row), you'd need...

    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: Select * from a table with one billion rows failing

    RPSql (11/3/2010)


    Select * from a table with one billion rows failing with following error (SQL 2005 SP3 HF11)

    An error occurred while executing batch. Error message is: Exception of type 'System.OutOfMemoryException'...

    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: drop the all tables

    what about this?:

    Msg 3726, Level 16, State 1, Line 1

    Could not drop object YOURTABLE because it is referenced by a FOREIGN KEY constraint.

    you need to drop(or delete/truncate)

    in the FK hierarchy...

    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: Does SQL server keeps track of all sent emails

    there is a suite of views in the msdb database that you want to look at:

    take a look at these:

    select * from dbo.sysmail_allitems

    select * from dbo.sysmail_faileditems

    select * from dbo.sysmail_sentitems

    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: Table Value Function

    mbender (11/3/2010)


    Also what is the difference between the IsNull and Coalesce?

    both provide the ability to substitute a null for a known value, but COALESCE is overloaded with a param array,...

    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: Field Causing SSRS to crash

    not enough info Laura; we'd really need the specific error that occurs to offer solid advice; what does "causes SSRS to shut down" mean to you? that that one report...

    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 number in indian currency format

    I saw you've been making the same request for a long time. I had shown you in another thread on the same issue an english number-to-words example that you could...

    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 query from 2 SELECT statments

    you can use a CASE to decide which value to insert:(note you said update, but it's really an insert in your example)

    INSERT INTO dbo.myNewTable

    SELECT

    RTRIM(LTRIM('Art')),

    RTRIM(LTRIM('Incidents')),...

    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: master.dbo.xp_cmdshell Error

    LOOKUP_BI-756009 (11/2/2010)


    Thanks Lowell,

    It executed without any errors but nothing got copied over

    an important piece of this puzzle is the account the SQL service is running under. Even though YOU...

    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: master.dbo.xp_cmdshell Error

    don't declare one of the variables as varchar(max); use a defined size instead; no error occurs when you do this:

    declare @bak_source varchar(255), @bak_dest varchar(255), @xcopycmd varchar(1000)

    set @bak_source='"\\qa\d$\Full_2010.bak"'

    set @bak_dest='"\\dev\d$\Data"'

    set @xcopycmd='xcopy '+...

    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: 2 SELECT statements from one CTE

    eek! SeanLange beat me to the punch on this one! you got some payback on that one, way to go Sean.

    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: 2 SELECT statements from one CTE

    Nope; that's a limitation of a CTE; it can be used only for one statement.

    if you get rid of the pseudocode, and show us what you are actually doing, we...

    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: 2 SELECT statements from one CTE

    SeanLange (11/2/2010)


    Lowell beat me to the punch again. 😛

    lol happens way to often lately!

    type faster! i guess it's a race now.

    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 - 8,446 through 8,460 (of 13,460 total)