Forum Replies Created

Viewing 15 posts - 5,311 through 5,325 (of 13,465 total)

  • RE: How to embed image with text in SSRS

    did i read your requirement wrong?

    i thought you wanted to build an image on the fly based ond ata in your dataset, was i wrong?

    that was the development path i...

  • RE: Production issue with varchar(max)

    ramadesai108 (6/26/2012)


    The closing quote is correct. After the long string, I have a year, '2012' as a variable. If I run the proc as follows then there are no...

  • RE: Production issue with varchar(max)

    Check your data type on any parameters ,whether in a proc or n the code in your application.

    Ive stepped in that myself where a parameter fornmy sqladapter was the wrong...

  • RE: How to use scalar valued function in select statement

    and here's another way just using a sub select instead of the function:

    note to self: That cross apply stuff is kewl, need to use it more.

    SELECT PS.LineGUID AS LINE_GUID,

    PS.PODSID,...

  • RE: Application stored in SAN Drive

    what do you mean by application?

    YourBusinessApp.exe, or do you mean the database the app connects to?

    performance typically has a lot more to do with the queries being performed, and the...

  • RE: sql server 2005

    anthony.green (6/25/2012)


    Hi, Welcome to SSC.

    Please follow the second link in my signature on posting code so that we can help you out further.

    careful there! the knee jerk reaction for DDL...

  • RE: How does one improve the performance of a "colA > colB" query?

    a query with Column1 > Column2 best plan is going to be a index scan, right? it has to use the index to get all values greater than to match...

  • RE: xp_cmdshell Issue

    as far as i know, the EXECUTE AS must use a user for permissions, so you'd need to add that superUser as a user so that you can use the...

  • RE: xp_cmdshell Issue

    i end up creating a special login/user for the whole execute as stuff:

    it works well for me.

    --first we need a sysadmin role with no login, which will beused

    --for execution context...

  • RE: Adding AD group to a db role

    two minor syntax issues;

    the first is missing the single quote after "SSN_GRANTED"

    EXEC sp_addrolemember N'SSN_GRANTED', N '[T001371\ViewSSN]'

    and for both commands, there cannot be a space between the N and the single...

  • RE: Adding AD group to a db role

    well it's a syntax issue, i'd guess you are missing something compared to my working example. the leading N or a single quote, or something.

    Can you post the EXACT command...

  • RE: xp_cmdshell Issue

    Laura it's probably permissions;

    since xp_cmdshell requires elevated permissions, try adding EXECUTE AS and see if that resolves it:

    --the EXECUTE AS must be a user in the database...not a login

    CREATE...

  • RE: How to embed image with text in SSRS

    OK this was a fun proof of concept again.

    building an image out of text on the fly is going to require programming;

    i'm not an SSRS guy, but i can...

  • RE: Alternate to xp_cmdshell

    there's a different proc for that:

    in this example, you'd change '[~~]' to '|':

    take a look at the documentation, i think i fleshed it out with a lot of examples;

    http://sqlclrexport.codeplex.com/documentation

    EXECUTE...

  • RE: Alternate to xp_cmdshell

    where the heck did i put my jump to conclusions mat?

    mea culpa, i would have sworn i read import via BCP/xp_cmdshell. it was the "This query works fine to import...

Viewing 15 posts - 5,311 through 5,325 (of 13,465 total)