Forum Replies Created

Viewing 15 posts - 4,096 through 4,110 (of 13,460 total)

  • RE: Gmail and MHTML formatting problems

    when you read the same report in gmail, if you "View Source" for the rendered report, can you confirm that it has now been manipulated/changed from what you actually created...

    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: Computed column with/with out PERSISTED

    i thought it was clear: i read it as howard saying there is no need to mark an calculated column as persisted in order to index it...it's not a requirement.

    simple...

    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: SQL definition statement for synonym ?

    you want to use the system view sys.synonyms, instead, which has everything you need:

    select * from sys.synonyms

    --rebuilding the command:

    select

    'CREATE SYNONYM '

    + quotename(SCHEMA_NAME(schema_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: Parsing a parameter text field to behave like a search engine

    it's certainly possible, but I'm not sure if you can integrate it into Reporting Services:

    check out this great article here on SQL Server Central, which has the coding and explanation...

    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: Run stored procedure when temp table is created/dropped

    i am wondering if you could put an extended event for CREATE_TABLE on the tempdb?

    I'll grab one of my sample extended events and try it, but it's just an idea...

    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: Restricting Users from creating Tables and Database

    rynmthw3 (1/22/2013)


    What do I have to do to configure SQL Server to not allow any users besides my Login to be able to create tables and database.

    Thanks

    It's the principal of...

    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: model database transaction log

    how are you determining that it is "full"?

    my model database is 3.5 Megabytes in size, with three meg for data, and one meg for the log. that's right...one meg.

    we just...

    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

    SELECT SPACE(81)

    or

    SELECT CONVERT(CHAR(81),'')

    if you are using a column, and you need to guarantee it's 81 spaces, it's similar:

    SELECT CONVERT(CHAR(81),YourColumnName)

    will both give you strings you are looking for...

    THE LEN() property...

    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 a database as a repository to procedures that use other databases

    nope; if the procedure exists in a different database, then the login needs a matching user mapped to it in each of those databases;

    that user in the "procedure" database would...

    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: sql query to find in which datafile a particular table exists

    i have this saved, whcih shows all tables/the filegroup they belong to:

    SELECT

    objz.[name],

    objz.[type],

    idxz.[name],

    idxz.[index_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: grant execute overrides user permissions

    yep if you are granted execute to a proc, even if you, the caller, are denied permission to the underlying tables, the proc will execute.

    is this a real problem for...

    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: Scheduled Stored Procedure, what Database ?

    unless the procedure starts with "sp_", i believe it assumes the context of the msdb database, right?

    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 change defualt directory for saving files from SSMS?

    i had to poke around to find this; it involves editing an xml file:

    http://visualstudiohacks.com/options/changing-the-my-projects-folder-location-and-other-settings-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: grant execute overrides user permissions

    db042188 (1/21/2013)


    Hi. It looks like granting a user permission to execute a proc overrides that user's insert/update/delete permissions they'd otherwise have on a table that the proc updates.

    I was...

    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: MSSQLSERVER.exe migration to different drive letter

    as far as I know, the binaries for SQL must be installed on the %systemdrive% (usually the C:\ drive)

    that part cannot be changed, but you can easily change / move...

    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 - 4,096 through 4,110 (of 13,460 total)