Forum Replies Created

Viewing 15 posts - 2,371 through 2,385 (of 13,460 total)

  • RE: Partial Match / Duplicates

    Partial match to what?

    do you have a master table for states, for example?

    your data had some single letter possible matches... if you filtered for the letter "A" or "U", how...

    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 redundant call

    since redundancy type issues are logic based, i think you are stuck with actually reviewing the code. digging through the logic is a pain.

    If you can give a better 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!

  • RE: Violation of PRIMARY KEY constraint

    looks like someone restored msdb ? or maybe actually did a DBCC CHECKIDENT with Ressed?

    the diagnosis is easy, and so is the fix:

    the diagnosis:

    use msdb;

    GO

    DBCC CHECKIDENT ('dbo.backupset')

    SELECT MAX(backup_set_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: EXECUTE permission was denied

    Mani I know you obfuscated the error, but i'll bet you an internet cookie that the procedure being called references a different database or different schema than what the procedure...

    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: Enhanced find and replace function...

    i assume the string can be anything, and not justa ~33 character GUID, right?

    i think the right thing to do is to find find where the slash starts, and where...

    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: Get OS Username in Trigger

    imran.baig (4/16/2014)


    But what if 2 users are using the same machine with their own user and password? It may be difficult to track in an environment with many users 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: Create Dynamics view

    the problem there is security, though, right?

    an end user needs access to each of those tables in each of the schemas in order to use the view; ownership chaining gets...

    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: Get OS Username in Trigger

    my network guy was able to provide me with a list of user accounts + last workstation they logged in on;

    I stuck that in a table, and use 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: Get new files and folders from FTP

    you have to keep track of the files already processed someplace. that's #1. do you have that accessible?

    Like Raunak Jhawar suggested, you'd move the processed files someplace, like to an...

    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: Potential Locking Issue - Inserts Failing Due to Duplicate Values

    Josh i inherited a similar solution once, and it depends on where it gets the next value from;

    the original badly written proc would get the max value from a 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: recursive structure.

    ben besides the join, i think you also have to be able to say where the level < previous level as well; that avoids the endless recursion

    here's a rough 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!

  • RE: Get Table Structure of Stored Procedure Output Table

    Tom As far As I know, the trick to getting the column definitions is getting them into a temp table, so that piece is correct...

    the real trick is to call...

    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: Object already exists, but can't drop it!

    well i can think of two things that might explain this:

    1: you are not a sysadmin, and the object in question is outside of your permissions scope. ie the sysadmin...

    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: Object already exists, but can't drop it!

    if you are sure you are not mispelling it, it's probabyl under a differnet schema, and you get partial matches.

    you should explicitly name the schema and object name:

    SELECT schema_name(schema_id) as...

    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: SSRS 2008 Report - Hyperlink on Name - After Clicking - Open Outlook Mail with Subject and Body

    i don't think it's the number of fields, i suspect it is the max length of a mailto link command; you are hitting the limit.

    paste the string in a...

    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 - 2,371 through 2,385 (of 13,460 total)