473,608 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sysindexes???

Hi All,

I am trying to get some result on the following query:

SELECT DISTINCT A.RECNAME, D.rowcnt
FROM PSRECDEFN A, PSRECFIELD B, PSTREENODEPVW C, sysindexes D
WHERE C.TREE_NODE = A.RECNAME
AND A.RECNAME = B.RECNAME
AND (B.FIELDNAME like '%SSN%')
AND A.QRYSECRECNAME = ' '
AND 'PS_' + A.RECNAME = D.name

Now the question is in regards to sysindexes. What is the criteria for
this table (will all records with data be in this table)? One of my
RECNAME is not in sysindexes and why is it not? It has data and is
used for many purposes but it does not show up in sysindexes???

Thanks,

-ok
Jul 20 '05 #1
0 1651

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6498
by: Vincento Harris | last post by:
Hi There are a lot of articles about the fillfactor. I did change the fill factor and that did not work as intended. How do I get back to the default fill factor I am using sp_msforeachtable undocumented database procedure and when the indexes are rebuilt the fill factor that shows up in origfillfactor is the one I am trying to move away from Your help will be appreciated
0
1139
by: John | last post by:
Hi All, I am trying to get some result on the following query: SELECT DISTINCT A.RECNAME, D.rowcnt FROM PSRECDEFN A, PSRECFIELD B, PSTREENODEPVW C, sysindexes D WHERE C.TREE_NODE = A.RECNAME AND A.RECNAME = B.RECNAME AND (B.FIELDNAME like '%SSN%') AND A.QRYSECRECNAME = ' '
3
2552
by: crystal1 | last post by:
Just curious if anyone has a script to find and delete all indexes created by index tuning wizard, leaving the original indexes untouched. All of the original indexes in this particular database are preceded with IX_, whereas those created by ITW are the table name followed by a number. I'm thinking of something along the lines of "sp_MSforeachtable @command1="print '?'" + a DBCC which just targets the ITW indexes (if such a thing...
2
2291
by: Jean | last post by:
Hi, i'm on windows nt4 sp6a , sql server 7.00.0842 i have something that i don't understand. The table 'source' is taking lot of space but when i bcp out, the file take only 11MB (fixed delimiter option) i issue showontig and it says me that Avg. Page Density (full).....................: 4.33% so if i understand there are a lot of space wasted per page
1
1581
by: MissLivvy | last post by:
What's the difference between the rowcount column returned by: DBCC SHOW_STATISTICS('table_name','primarykey') and SELECT rows FROM sysindexes WHERE id = OBJECT_ID('table_name') AND indid < 2 Is the second query always accurate, whereas the 1st may not be if the table
3
1510
by: hobbzilla | last post by:
After running: SELECT , B.rows, O.name FROM (select sum(convert(decimal(10,0),dpages)*8129/1024) , id FROM sysindexes group by id) A INNER JOIN sysindexes B ON A.id = B.id and B.indid in (0,1) INNER JOIN sysobjects O ON B.id = O.id WHERE B.rows <> 0 ORDER BY desc
2
3223
by: Benzine | last post by:
I am running MS SQL 2000. I recently ran a procedure in Query Analyzer from the Master db to clear out all replication information so I could start/recreate it again. After I ran this procedure Enterprise Manager no longer showed the registered server in the tree. When I tried to re-register it gave me the following message:
4
2064
by: Laurence Breeze | last post by:
I wonder if anyone can help ... Today I tried to create another non-clustered index on a table. This failed as I apparently already had 249 non-clustered indexex on the table. Looking at the definition of the table there were 90 or so indexes already defined and not 249. (For those of you who quite rightly think 90 indexes on a table is a little over the top, I hasten to add that this is a third party CRM system called "Siebel" which...
4
3429
by: time management | last post by:
Here's the scoop, I got a generic-purpose database (in the form of *.mdb and *.ldf) from a 'reputable' source on the net. But when I attempted to attach it to my sql server 2000 with SP3 with EM, it failed complaining "Could not find row in sysindexes for database ID 10, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes." Then, I attempted to command line attach (thought it may have some option...), same outcome. Then, ran a...
1
2331
by: VIJENDRA1978 | last post by:
I need to control the size of table in database in Ms Sql server 2005. My objective is to see if the table size grows beyond a certain limit like 300mb or so. If it grows more then this then fire a trigger and remove data from table in which last month entries should be removed to add more fresh data. Now is trigger going to solve this problem. Please provide me the code format required for this. Or any alternative with some good link if...
0
8063
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8003
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8478
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8341
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6817
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4025
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1331
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.