15,891,903 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by smodak@ats360.com (Top 9 by date)
smodak@ats360.com
3-Apr-20 6:14am
View
I wanted to achieve the same functionality as excel pivoting using the sql query.
smodak@ats360.com
30-Mar-20 10:30am
View
This is not what I am looking for. I am looking to get Excel pivot result using the only a query.
smodak@ats360.com
6-Apr-17 3:07am
View
Please consider provided example of table structure of A,B and C.
If I write the query as follows
SELECT t2.name as TableReferenced,
t.name AS TableWithForeignKey,
c.name AS ForeignKeyColumn,
object_name(constraint_object_id) as FK_Name
from sys.foreign_key_columns as fk
inner join sys.tables as t on fk.parent_object_id = t.object_id
inner join sys.columns as c on fk.parent_object_id = c.object_id and fk.parent_column_id = c.column_id
inner join sys.tables t2 on fk.referenced_object_id=t2.object_id
where t2.name = 'A'
order by 1, 2
It gives me only table B foreign key reference info. I could not get the C table info. Which are related to table B. There can be n number of hierarchy. I want something like I could provide tables A and C to query and it will give information of B table.
smodak@ats360.com
5-Apr-17 3:06am
View
I have tried many schema combination queries to get the connection between two tables but could not come up with proper solution yet.
smodak@ats360.com
5-Apr-17 3:05am
View
Thanks for reply
I have already tried above query but it is not giving the desire result.
I need the connection between two tables to form a query.
smodak@ats360.com
16-May-14 6:24am
View
I have already started ASP.NET state service when I have changed the session state mode from ‘inproc’ to ‘stateserver’.
smodak@ats360.com
15-May-14 2:47am
View
This is the setting I have made in the config file
(sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="300")
smodak@ats360.com
15-May-14 2:46am
View
Deleted
This is the setting I have made in the config file
<sessionstate mode="StateServer" stateconnectionstring="tcpip=127.0.0.1:42424" sqlconnectionstring="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="300">
smodak@ats360.com
28-Feb-13 8:35am
View
Thanks for your reply...
But I can’t use third party DLL. I wanted to achieve this task without using any third party DLL.
Show More