Viewing 15 posts - 7,606 through 7,620 (of 9,641 total)
jluniya (9/5/2008)
September 5, 2008 at 8:02 am
Try it again as I just copied and pasted the link into my browser and there was your original post and a reply. Sounds like a browser issue? ...
September 5, 2008 at 7:58 am
I believe that INDEX ID 0 means the table is in a heap, no clustered index and is now in an inconsistent state. I would restore a backup to...
September 5, 2008 at 7:56 am
You can't edit a package in SSMS unless it is a Maintenance Plan and you have to do these under a DB Engine connection in the Maintenance Plan area.. ...
September 5, 2008 at 7:52 am
If you go to Report Manager (http://servername/reports is the default) you can download any report on the report server. You do this with these steps:
1. Go to report...
September 5, 2008 at 7:49 am
I would define it as a single field that has no meaning, is system generated, and exists mainly for maintaining relationships. For example, in the US a person would...
September 5, 2008 at 7:38 am
It should be saved to msdb on that server. In the Object Explorer in SSMS under the Connect Menu select Integration Services and then connect to the server you...
September 5, 2008 at 7:31 am
Unfortunately sp_depends and sysdepends are unreliable as SQL Server will allow you to create a stored procedure that references a non-existent table so the dependency is not created in sysdepends.
September 5, 2008 at 7:27 am
If you have defined the foreign key in the database and have not included any Cascade options then the database will not allow a delete that will break the relationship...
September 5, 2008 at 7:25 am
Really the best way to handle this is to return all the data you need in one dataset as it reduces round trips and makes working with the data in...
September 5, 2008 at 7:21 am
Brandie is right that you can't mix data types. I'd do this:
PROC_DT == "00000000" ? NULL(DT_STR, 8) : (SUBSTRING(PROC_DT,5,2) + "/"
+ SUBSTRING(PROC_DT,7,2) + "/" + SUBSTRING(PROC_DT,1,4))
The NULL(DT_STR) produces...
September 5, 2008 at 7:15 am
For the tables, and yes this is basically a wrapper around a cursor, you can use the undocumented sp_msforeachtable procedure. Something like this:
exec sp_msforeachtable @command1 = 'exec sp_changeobjectowner ''?"",...
September 5, 2008 at 7:11 am
None that I am aware. How are you planning on doing the migrate?
September 5, 2008 at 7:04 am
Sure right-click the database select Tasks (Or All tasks) -> Generate Scripts. As you walk through the wizard just select script views.
September 5, 2008 at 7:03 am
My Bad. IsDate returns 1 for valid dates and 0 for invalid dates.
September 4, 2008 at 6:30 pm
Viewing 15 posts - 7,606 through 7,620 (of 9,641 total)