Forum Replies Created

Viewing 15 posts - 5,926 through 5,940 (of 13,460 total)

  • RE: Query with variable for "any letter"

    both SQL and Oracle support pattern matching for any character:

    select * from YourTable

    where YourColumn like '%H_M%'

    SQL supports a type of regular expression like this:

    select * from YourTable

    where YourColumn like...

    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 Structure For 900+ tables

    the views ALL_TAB_COLUMNS / USER_TAB_COLUMNS has the table name and the raw column info like column name, data type, column id , etc just like our sys.columns;

    is that what...

    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: Maximum number of values allowed in the parameters drop down

    for any browser to try and create/render a drop down menu (html <select>)

    with 600K objects, i'd figure you are looking at a render time in minutes; closer to 10 minutes...

    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: CLR SP with Web Service

    i'm just throwing a guess out here, but I don't think you should be building a connection string...

    in all my CLR,s when I declare a SQL connection, i do it...

    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 sites didn't report on what days?

    you need to be able to also join against a master list of all sites.

    when you cross join dates and sites, you get all possible values...which you can then join...

    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: CSS Style Sheet Question

    answering my own question, now that I've been caffeine infused:

    i was looking for the border-collapse:collapse; property, usually applied on the table tag.

    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: BUILTIN\Administrators login doesn't appear to be working.

    i believe in 2008 and above, they tightened the security rules on who gets admin of the sql server, and Builtin\Administrators was removed, so you have to be explicitly added...

    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 make this batch file work using xp_cmdshell?

    most likely a permissions issue.

    to run a cumulative update, you need to be an administrator ont he amchine...

    xp_cmdshell does not run as the logged in user...it runs under whatever the...

    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: Add Database Fixed Roles to a Database Role

    here you go:

    CREATE ROLE DatabaseUser

    EXEC sp_addrolemember N'db_datareader', N'DatabaseUser'

    CREATE ROLE DatabaseDeveloper

    EXEC sp_addrolemember N'db_ddladmin', N'DatabaseDeveloper'

    EXEC sp_addrolemember N'db_datareader', N'DatabaseDeveloper'

    EXEC sp_addrolemember N'db_datawriter', N'DatabaseDeveloper'

    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 User Read Permission Linked Server

    you need to create a user on the AS400 that has read only permissions.

    then when you create the linked server, use that specific user for the remote login.

    it is...

    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: Need to give a user VIEW DEFINITION permission on all databases in the Instance

    Sanz (2/15/2012)


    Strange ! GRANT VIEW ANY DEFINITION was run against a Login and it was run in master. Still the permission does not reflect in other db's. Am I missing...

    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: Need to give a user VIEW DEFINITION permission on all databases in the Instance

    i'm pretty sure GRANT VIEW ANY DEFINITION TO LOGIN is a server scope command...it has to be against a login and not a user, and your database has to be...

    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: Logon trigger malfunctions

    is that logic right?

    i don't think you need to go to the dmvs, first of all...

    second, this pretty much says "if you find any of these conditions, even if it's...

    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: Starting SQL Server 2012 Express with Tools

    sql runs as a service, it's main executable is not double clickable/runable...you go to Control Panel Administrative tools>>Services and see if it is running there or not (you can use...

    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: IT Budget

    lol my shops IT budget doesn't have room for any software that would make my life easier; it pretty much covers absolutely required hardware + licenses.

    If i wanted something like...

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