Viewing 15 posts - 4,471 through 4,485 (of 13,465 total)
justin_post (10/30/2012)
October 30, 2012 at 12:31 pm
He means do something like this:
create the view via TSQL, for example:
CREATE VIEW MyView
AS
SELECT
[Student Number],
IRN,
Name,
Gender,
Address,
city,
state,
...
October 30, 2012 at 12:22 pm
You mean like this?
SELECT *
FROM SomeTable
WHERE SomeColumn LIKE '%' + CHAR(33) + '%'
October 30, 2012 at 9:03 am
JeremyE (10/29/2012)
If all the stored procedures are in the same schema you could grant execute on the schema like so.
GRANT EXECUTE ON SCHEMA::[dbo] TO [UserOrRoleName]
but that would grant execute on...
October 29, 2012 at 2:06 pm
you can use a neat trick with RAISERROR to get an immediate result inside the loop, if that's what you want/need.
a basic example:
--print error immediately in batch
declare @i int,
...
October 29, 2012 at 2:02 pm
sounds like a case statement or a union all, but i'm having trouble figuring out where your data is
soemthing like this?
SELECT Servername, ApplicationID, 'Table1' AS Appserver FROM Table1 UNION...
October 29, 2012 at 1:49 pm
briancampbellmcad (10/29/2012)
October 29, 2012 at 11:27 am
i don't see index_id = 1 , which would be the clustered index.
I see index_id 0, which means the table is a heap, and all the downsides that entails.
what...
October 29, 2012 at 10:05 am
it gets a little outside of a lot of peoples comfort zones, but in .NET you can do a lot things on the client.. .left join/inner join/full join on the...
October 29, 2012 at 9:53 am
also, for the prerequisites:
install the AccessDatabaseEngine_x64.exe from microsoft:
http://www.microsoft.com/en-us/download/details.aspx?id=13255
make sure you open an Administrative command prompt window, and run it with the c:\Downloads\AccessDatabaseEngine_x64.exe /passive
command line flag;
this will force the...
October 29, 2012 at 8:39 am
lots of things wrong here, let me point out a few, and then a script on how to create a linked server.
1. you cannot create objects in the sys. schema
2....
October 29, 2012 at 8:35 am
i played with something similar, where i was converting from xml/html entities to the unicode? character char definition.
the problem was i was using a recursive function, and the #of recursion...
October 29, 2012 at 7:56 am
Lucasprss (10/29/2012)
What would be the easy way to find this within my thousands of records, would you say?
the issue is not with your data.
it's with the query you are using...
October 29, 2012 at 7:33 am
the error is in the query you are creating, which you did not post.
it looks like you are concatenating a number to a string . like CustomerID + ' '...
October 29, 2012 at 5:55 am
Viewing 15 posts - 4,471 through 4,485 (of 13,465 total)