Forum Replies Created

Viewing 15 posts - 5,401 through 5,415 (of 13,460 total)

  • RE: Database Mail - Activation Failure

    when i googled the same error, the first few i looked at all implied that a service pack was applied, but somehow some of the post-install scripts failed to execute;...

    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: Login failed with INFRASTRUCTURE error.

    the first link i got whens earching for the error took me here:

    http://social.msdn.microsoft.com/Forums/eu/sqldatabaseengine/thread/214b0b8f-ab78-4ab1-bd73-3eeee0c8999a

    it seems to imply there is something wrong with "corruption of Server Principal Name(SPN)."

    can you look at...

    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: What database role should I grant?

    yeah i had added a seperate line "GRANT EXECUTE TO [ClassicReadWriteExecute]"

    to cover the execute permissions as well.

    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: What database role should I grant?

    i would create a role like this example, and then add your user dtAdmin to that role:

    Create LOGIN [dtAdmin] WITH PASSWORD='NotTheRealPassword'

    USE [WHATEVER]

    Create USER [dtAdmin] FOR LOGIN [dtAdmin]

    CREATE ROLE [ClassicReadWriteExecute]...

    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: Foreign Key problem.....

    maybe you are scripting the table in SSMS, and it doesn't show the foreign keys because the scripting option for that is False instead of True?

    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: Adding extended properties to stored procedures/functions

    you just need a basic example? here' s one writing two properties about a procedure, and reading them back;

    to do it for all of them, you build a select statment...

    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: Query that ran to use an Index

    i've only done it the wat SQLKnowitAll describes it:

    1. run the query in SSMS, with Show Actual. Execution plan enabled.

    2.review the execution plan.

    3. change the indexes.

    4. run the query again...

    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 Select This Query

    sample, consumable data is the key to getting answers here.

    if you put your data in a format a volunteer can copy/paste /adapt, you can get instant, tested answers.

    i couldn't tell...

    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 in INFORMATION_SCHEMA.TABLES missing

    dan-572483 (6/11/2012)


    That should be apparent when running

    select * from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'FRAGResultTable'

    Shoudn't it?

    not necessarily;it depends on the user context the preocdure is running under, i think.

    if...

    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: Read-Only Access to a DB

    to develop reports, the user generally needs to be able to see the metatadata/structure of the tables as well, which db_datareader will not give them.

    you'll probably want to grant VIEW...

    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: SSMS not closing

    Jason did you happen to install any SSMS add ons that might not be letting go?

    What add-ons for SSMS do you have installed so far?

    I have three or...

    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 in INFORMATION_SCHEMA.TABLES missing

    could the table exist under a different user/schema? so instead of dbo.FRAGResultTable it's Bob.FRAGResultTable?

    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: Duplicate Records

    sample data extracted for useability:

    With tenant_history(hmy, dtdate, htent, sevent, dtoccurred, dtmovein, dtmoveout )

    AS

    (

    SELECT '176340','2011-08-26 00:00:00.000','55496','Notice Given ','2011-08-26 14:32:53.000','2006-03-01 00:00:00.000','2011-09-26 00:00:00.000' UNION ALL

    SELECT '176375','2011-08-29...

    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: Cannot be bound error

    you cannot refernece a column without saying what table it comes from...looks like you need "FROM dbo.payloads"

    ie:

    ...Select dbo.payloads.ContentReference as ImportFileName

    FROM dbo.payloads

    FOR

    XML PATH ('FileInfo'),

    TYPE...

    maybe like this:

    SELECT (Select dbo.payloads.ContentReference as ImportFileName

    FROM dbo.payloads

    FOR

    XML...

    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: Using the DelimitedSplit8k function - Help Jeff!

    looks like it's a combination of Splitting and a pivot;

    for specific values, this seems to get teh data back into "column" form; you'd need three split+ pivots in your example,...

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