Viewing 15 posts - 6,136 through 6,150 (of 7,187 total)
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
OK, I'll take your word for that, since I never tried it in SQL Server 2005, and the option isn't available in SQL Server 2000. You still have to...
January 15, 2008 at 7:41 am
Steve
I back up my database to disk, then I restore to a different location using WITH MOVE. That would work, wouldn't it, and with no manual copying of files?
John
January 15, 2008 at 7:39 am
Backup and restore may not be the fastest option (although if you have very large database files with very little data in then there won't be much in it) but...
January 15, 2008 at 7:29 am
(1) This gives the total size of the database files, including free space within those files
(2) This gives the sizes of the individual database files, including free space
(3) The size...
January 15, 2008 at 6:40 am
I think dynamic SQL is your only option to get round this somewhat dubious database design. Something like this:
DECLARE @sql varchar(1000)
SELECT @sql = 'SELECT * FROM ' + TableName
FROM...
January 14, 2008 at 9:28 am
Try SELECT @StartTime = GETDATE(). You should declare @StartTime and @StopTime as datetime rather than varchar.
John
January 14, 2008 at 9:14 am
Ram
Absolutely. I'm not preaching the supremacy of any language. But if you don't express yourself clearly in the language in which you have chosen, for whatever reason, to...
January 11, 2008 at 9:11 am
Ram (1/11/2008)
I wouldn't worry as long as the subject matter is conveyed to the other end in any form.
But if you don't express yourself clearly, then how can you be...
January 11, 2008 at 8:46 am
Karthik
Try reading some English-language newspapers. You will find that the sentences are clear, concise and well-formed. Stick to the type we in the UK refer to as "broadsheet"...
January 11, 2008 at 5:42 am
What do you mean when you say it doesn't work? Does it give an error message, or does it just not return the results you expect? Please provide...
January 10, 2008 at 4:31 am
Please will you post your table structures in the form of CREATE TABLE statements and also give some sample data in the form of INSERT statements. Also, please show...
January 9, 2008 at 5:21 am
Could it be to do with your regional settings? What happens if you do SELECT CAST (GETDATE() AS datetime)?
John
January 8, 2008 at 8:26 am
Viewing 15 posts - 6,136 through 6,150 (of 7,187 total)