Viewing 15 posts - 526 through 540 (of 1,109 total)
Brandie Tarvin (1/10/2008)
BOL doesn't have any topics that I can find on granting statement level permissions with T-SQL. In fact, I had to go to the SQL...
January 10, 2008 at 6:44 am
bleighton (1/10/2008)
I have found the following though which seems to work
select (select SUM(1) from view1 where...
January 10, 2008 at 6:36 am
You can use the row_number() function (available on 2005). An example is:
select row_number() over (order by columnname) AS rownumber, * from somerandomtable
just replace the columnname and somerandomtable with some...
January 10, 2008 at 4:57 am
Yes, you can. The edition does not matter, so you can even restore a 2000 Enterprise backup to a 2000 Standard edition server.
Regards,
Andras
January 9, 2008 at 5:06 am
nofear_1k (1/9/2008)
I have a main table Table1 which has name and address and a Field...
January 9, 2008 at 3:06 am
mjafar (1/9/2008)
Hi all,wherever we create a database is it necessary to keep .ldf & .mdf file on different drive ?
Can anyone explain me..
Regards
Majid Jafar
These files can stay on the same...
January 9, 2008 at 1:39 am
Alexandru Petre Ionescu (1/7/2008)
January 7, 2008 at 9:20 am
Alexandru Petre Ionescu (1/7/2008)
hello everybody,Does somebody know how can I set the authentication mode for a SQLServer from TSQL?
Many thanks...
Adrian Ionescu
To change it to Windows only you could use:
USE [master]
GO
EXEC...
January 7, 2008 at 8:34 am
hb21l6 (1/2/2008)
I need to delete data that is 3 days old from the database. I'm just using a select to show the data to start with...
January 2, 2008 at 9:43 am
Are these databases detached/attached? Or are they dropped and then created using T-SQL?
Management Studio will not follow these changes, but you could just refresh the object explorer (Rightclick on the...
January 2, 2008 at 8:42 am
hb21l6 (1/2/2008)
e.g. = "getdate()-3" changes to "Getdate() - 3"
this is the query...
SELECT...
January 2, 2008 at 8:31 am
You cannot use raiserror in a user defined function written in T-SQL. You could rewrite your function as a stored procedure with an output parameter for the return value, but...
January 2, 2008 at 5:48 am
h.schlais (12/28/2007)
We tried Log Rescue and have a question. If a procedure opens a cursor and brings in a result set of 100,000 records then enters a while loop which...
January 2, 2008 at 4:14 am
Chris Gierlack (12/14/2007)
December 14, 2007 at 8:16 am
Adam Haines (12/14/2007)
Cool solution, I did not even know about this feature. It seems like managing objects with synonyms can become confusing and messy, if you do not know...
December 14, 2007 at 8:06 am
Viewing 15 posts - 526 through 540 (of 1,109 total)