Viewing 15 posts - 601 through 615 (of 623 total)
I found the index by going through the databases. I scripted out the rebuild and reorganize commands and both ran successfully. The table is fairly small < 1200 records.
It sounds...
November 16, 2010 at 9:38 am
SKYBVI (11/16/2010)[hrYou can search for that index in the database-->tables--> indexes and then rebuild/reorganize from there.
There are a lot of databases on this server. Is there a system table that...
November 16, 2010 at 9:25 am
When you concatenate 2 values and one is a null you will always get null so job_number_20+char(34)
will always be null if job_number_20 is null
Try this instead of job_number_20+char(34)
CASE...
November 12, 2010 at 4:09 pm
bicky1980 (11/12/2010)
November 12, 2010 at 2:19 pm
If possible fix the source table with an update statement that replaces the empty strings with NULL.
UPDATE MyTable
SET MyField = NULL
WHERE MyField = ''
You could use REPLACE in...
November 12, 2010 at 12:19 pm
For returning the data you could call a stored procedure like below. This will allow you to pass parameters as well.
Uploading the data to sql server I haven't done but...
November 11, 2010 at 12:03 pm
We are going to backup the vm image and ship it to the DR site but this won't be real time, it will be a periodic backup. The database files...
November 10, 2010 at 12:53 pm
Thanks you for the clarification. over and out...
November 5, 2010 at 3:56 pm
sqlserver.exe is using 2.8 gb and /3gb is in the boot file. It would seem this is properly configured then.
>>Monitor the server afterwards though, in most cases the extra memory...
November 5, 2010 at 12:30 pm
There is a maintenance plan so backups look good. Indexes are being rebuilt as well.
>>Since this is a dedicated SQL Server, the memory allocation is fine being set as default.
So...
November 5, 2010 at 10:45 am
Chrissy, I don't think this version will work.
Your are right and you code does get my desired results. Simpler, faster, better...Thanks again.
October 28, 2010 at 1:16 pm
Which brings me to this....
SELECT
CASE WHEN EXISTS
(
SELECT 1
FROM Parent P
INNER JOIN Child C
ON MyTable.ParentID = P.ParentID
INNER JOIN ChildCustom CC
ON MyTable.ChildID = CC.ChildID
WHERE CC.SillyFlag=...
October 28, 2010 at 10:53 am
This is a better representation, sorry about that.
So WHERE P.Parent_CD = MyTable.Parent_CD will refer one of the main tables in my SELECT.
Thanks for being willing to make suggestions when...
October 28, 2010 at 10:40 am
Thanks to those who responded, it was educational. Pursuing hierarchical processing is beyond my scope right now so I'd like to close the thread.
October 28, 2010 at 10:15 am
Viewing 15 posts - 601 through 615 (of 623 total)