Viewing 15 posts - 6,121 through 6,135 (of 7,185 total)
Debra
If you don't have more than one update in any particualr second, you could do something like this:
select datediff(s,'01 Jan 1980',getdate())
If your updates are more frequent than that, you could...
January 25, 2008 at 9:18 am
Debra
I think the simplest way to achieve what you want is with an identity column. If this is a new table, add the identity column before you insert any...
January 25, 2008 at 7:01 am
Yes, there is. Look up the sys.database_permissions metadata view.
John
January 25, 2008 at 2:36 am
If EXCEPT works for you, then go with it, although I don't think you need to waste time concatenating into a single column - just specify both in the query...
January 25, 2008 at 1:31 am
What happens if you try to assign permissions to individual tables? Choose a table and execute this:
GRANT SELECT ON dbo.MyTable to NPQuiggin
John
January 25, 2008 at 1:22 am
Nigel
According to Books Online:
The names of users that are mapped to SQL Server logins, certificates, or asymmetric keys cannot contain the backslash character (\).
What is the actual name of the...
January 24, 2008 at 9:17 am
Shouldn't be too complicated... what have you tried so far? What I'd do is use a LEFT JOIN to identify which records are to be deleted, and a RIGHT...
January 24, 2008 at 9:10 am
OK, I don't think you can just back that query out. So what you need to do is restore to a different database, then do something like this:
UPDATE d
SET...
January 24, 2008 at 6:51 am
Do you have a backup of your database? If so, start by backing up your transaction log now and then restore the database to a different location and apply...
January 24, 2008 at 3:20 am
Yes, we can help. But we'd rather you attempted it yourself. We can't do all your debugging for you. You need to understand what the code does,...
January 24, 2008 at 2:56 am
Please don't post the same question twice. It wastes your time and ours. Answered here:
http://www.sqlservercentral.com/Forums/Topic446786-146-1.aspx#bm446789
John
January 24, 2008 at 2:44 am
I'm sorry, but this doesn't make any sense to me. Please will you post your table structure in the form of a CREATE TABLE statement, and some sample data...
January 17, 2008 at 8:56 am
Can you show us what you've tried, and then maybe we can point out where you're going wrong? Otherwise it's too much like we're doing all the work for...
January 17, 2008 at 8:46 am
Be warned that if you change the collation of the database so that it is different from the rest of the server, and your application uses temp tables, you could...
January 15, 2008 at 8:43 am
Viewing 15 posts - 6,121 through 6,135 (of 7,185 total)