Viewing 15 posts - 766 through 780 (of 1,124 total)
Use Attach Database method. BTW, You cannot have mdf or ldf files in CE edition. There are actually sdf files.
December 7, 2007 at 4:25 am
Off course, its possible & very simple to do.
Just go to SSMS > Right click on the Database > All Tasks > Shrink > Files (In file type...
December 7, 2007 at 4:20 am
Check in sysjobschedules & sysschedules tables in msdb database.
December 7, 2007 at 4:15 am
Cross Post...Continue discussions here
December 7, 2007 at 4:01 am
You need to create a linked server using sp_addlinkedserver procedure
EXEC sp_addlinkedserver
@server='TestServer',
@srvproduct='',
@provider='SQLNCLI',
@datasrc='YourServer\InstanceName'
Then, create linker...
December 7, 2007 at 3:56 am
Is the friend_id a reference to users table? (which i think should)
SELECTT.userid, U.username, T.friend_id, F.username As friendname, T.request_status
FROMfriends T
INNER JOIN users U ON T.userid = U.userid
INNER JOIN users F...
December 7, 2007 at 3:43 am
Msg 8134, Level 16, State 1, Procedure DivideByZero, Line 10
Divide by zero error encountered.
The statement has been terminated.
It says that you're dividing a number by zero, which can't be defined...
December 7, 2007 at 2:39 am
How could I miss that?:hehe:
Thanks Gail for the catch. I do agree with what you have suggested.
Adding included varchar(max), nvarchar(max), varbinary(max), or xml (max) columns...
December 7, 2007 at 1:44 am
Create a non-clustered index on columns server, customer and add audit_output as include column.
December 7, 2007 at 12:30 am
You are not having enough quotes in the case block of the open query statement. You need to add 4 quotes instead of two as the statement is the...
December 7, 2007 at 12:10 am
Setting up a linked server is the right way to go, anyway, try adding IMEX = 1 to the provider string, which will make treat the column as textual...
December 6, 2007 at 11:51 pm
Go to Management Studio > Query > Design Query in Editor
December 6, 2007 at 11:30 pm
Or something like this?
SELECTTOP 5 T.*
FROM( SELECT itemid, MAX( dateaccessed ) AS SNO FROM tblhits WHERE username = 'testusername' GROUP BY itemid ) T
ORDER BY SNO DESC
December 6, 2007 at 11:26 pm
RichardB (12/6/2007)
Ramesh (12/3/2007)
Why would somebody freeze his server by needing to use such a function?:w00t:
Not the function I'd worry about - more the update of 4 billion + records...
December 6, 2007 at 11:06 pm
When creating or altering views, the statement CREATE VIEW should be the first one in the batch.
Its definitely not a good idea to create views in a procedure.
December 6, 2007 at 6:53 am
Viewing 15 posts - 766 through 780 (of 1,124 total)