Viewing 15 posts - 4,471 through 4,485 (of 13,460 total)
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,
...
Lowell
October 30, 2012 at 12:22 pm
You mean like this?
SELECT *
FROM SomeTable
WHERE SomeColumn LIKE '%' + CHAR(33) + '%'
Lowell
October 30, 2012 at 9:03 am
this is wrong...it's looking for a table that happens to have a dot in it's name:
[Test].[dbo.Table].LastStartUpTime
--should be
[Test].[dbo].[Table].LastStartUpTime
Lowell
October 29, 2012 at 2:08 pm
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...
Lowell
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,
...
Lowell
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...
Lowell
October 29, 2012 at 1:49 pm
briancampbellmcad (10/29/2012)
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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....
Lowell
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...
Lowell
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...
Lowell
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 + ' '...
Lowell
October 29, 2012 at 5:55 am
nothing like getting it straight from the source, and testing it yourself.
BooksOnline has a page about what each of the server roles allows:
http://msdn.microsoft.com/en-us/library/ms175892(v=sql.90).aspx
play with this sample code below; this...
Lowell
October 26, 2012 at 3:07 pm
Viewing 15 posts - 4,471 through 4,485 (of 13,460 total)