Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

SQL / ADO / ADO.NET | Forum profile

Forum profile page for SQL / ADO / ADO.NET on http://www.codeproject.com. This report page is the aggregated overview from a single forum: SQL / ADO / ADO.NET, located on the Message Board at http://www.codeproject.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "SQL / ADO / ADO.NET" on the Message Board at http://www.codeproject.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: CodeProject: Discussion Boards. Free source code and programming help - SQL / ADO / ADO.NET (site profile, domain info codeproject.com)
Title: SQL / ADO / ADO.NET
Url: http://www.codeproject.com/script/Forums/View.a...
Users activity: 28 posts per thread
Forum activity: 61 active thread during last week
 

Posting activity on SQL / ADO / ADO.NET:

  Week Month 3 Months
Threads: 61 193 513
Post: 173 561 1,451
 

SQL / ADO / ADO.NET Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
Shameel
18
user's latest post:
Start records from Specific Number
Published (2009-11-26 10:58:00)
There is no known problem with using IDENTITY columns. It works well. If you want to really have 'big' numbers, use bigint datatype instead of int. The syntax remains the same.
Mycroft Holmes
17
user's latest post:
table normalization
Published (2009-11-26 18:17:00)
Jörgen Andersson wrote: Composite indices can on the other hand under certain circumstances considerably speed up a query Ah but I was being derogetry about composite KEYS not indexes. Composite indexes are a basic tool for tuning a database, composite keys annoy me.
Niladri_Biswas
13
user's latest post:
Duplicate Remover
Published (2009-11-24 04:22:00)
Try this declare @t table (sal1 int ,sal2 int ,dur1 int ,dur2 int ) insert into @t select 6 , 7 , 3 , 2 union all select 6 , 7 , 3 , 3 union all select 354 , 867 , 1 , 2 union all select 354 , 867 , 1 , 3 union all select 354 , 872 , 1 , 2 union all select 354 , 872 , 1 , 3 union all select 356 , 867 , 1 , 2 union all select 356 , 867 , 1 , 3 union all select 356 , 872 , 1 , 2 union all select 356 , 872 , 1 , 3 select * from @t I am taking...
Roger Wright
9
user's latest post:
How to take a number which...
Published (2009-11-25 08:47:00)
I thought the ABS function might be a shortcut, in that it accomplishes the same thing as squaring when you want only the distance between two values, regardless of which is smaller. My main consideration was that the example you gave did not return a distance from the target of 30, only reorders the table. Now that I reread your response, I see that the value I was reading as a single variable (news_id-10) is actually (new_id - 10)....
Vuyiswa Maseko
7
user's latest post:
SSIS Script Task
Published (2009-11-25 03:28:00)
You need a Configuration File to store the credentials to the Server. To make sure if what you are saying 9is what am assuming. can you please send us the error ?
Ashfield
6
user's latest post:
Is it possible to get...
Published (2009-11-25 03:11:00)
Jon_Boy wrote: I think I found a way to accomplish what I need Care to share? It might help someone else.
Luc Pattyn
6
user's latest post:
How to take a number which...
Published (2009-11-25 08:52:00)
NP
Ted2102
6
user's latest post:
ADO question moved to .NET forum
Published (2009-11-26 01:58:00)
Does anyone know how to execute a parameterized stored procedure that returns a recordset using ADO .NET? I noticed neither direct Parameter members on the DataAdapter nor Fill members on a db_Command. My workaround has been to use an Adapter to execute a query such as "EXECUTE Procedure 1, 2, 3". I would prefer not to execute a reader. --1st method System::Data::OleDb::OleDbCommand ^db_Command=gcnew...
_Damian S_
6
user's latest post:
table normalization
Published (2009-11-26 01:02:00)
Generally speaking, each data item (that is not a primary or foreign key) should only appear in one table, otherwise you will have referential integrity issues. Course table - looks fine. Instructor table - looks fine. Class table - Probably doesn't need a composite key between ClassCode and CourseCode, however I assume InstrName is the Instructor name - this doesn't need to be in there, as it's in the Instructor Table....
fracalifa
5
user's latest post:
SQL is creating a table instead...
Published (2009-11-19 04:48:00)
Thank you, I also found this example, but the examples assume, that an Excel file already exists. But I remember, 5 years ago, I could generate a new file with the sql-sting above (within VB6) without an additional action. Why can't I do that today - or how can I do that today ? Tnx for your time Frank
 

Latest active threads on SQL / ADO / ADO.NET::

CodeProject: Discussion Boards. Free source code and programming help
Started 15 hours, 10 minutes ago (2009-11-27 10:52:00)  by Ashfield
Ever tried the ORDER BY clause?
Thread:  Show this thread (2 posts)   Thread info: Arrange database Column entries by ascending order. Pin Size: 69 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Arrange database Column entries by ascending order. Pin :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
CodeProject: Discussion Boards. Free source code and programming help
Started 21 hours, 57 minutes ago (2009-11-27 04:05:00)  by Vuyiswa Maseko
hi Ted SET NOCOUNT ON is used if you dont want to show results. Lets say i have a Query that Updates a Table, at the end it will give me something like 100 Rows Affected to make sure that the update does not show that message , you use SET NOCOUNT ON i have never seen this use in a query passed as a parameter, am not sure if this is correct because as i remember correctly you are not...
Thread:  Show this thread (11 posts)   Thread info: adding SET NOCOUNT ON to large number of stored procedures [modified] Size: 633 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: adding SET NOCOUNT ON to large number of stored procedures :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
CodeProject: Discussion Boards. Free source code and programming help
Started 1 day, 8 hours ago (2009-11-26 17:26:00)  by The Man from U.N.C.L.E.
You will need to be in the dbo_role on the msdb database.
Thread:  Show this thread (3 posts)   Thread info: Can't define full-text index in Microsoft Sql Server 2008 Size: 95 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Can't define full-text index in Microsoft Sql Server 2008 :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
CodeProject: Discussion Boards. Free source code and programming help
Started 2 days, 1 hour ago (2009-11-26 01:02:00)  by _Damian S_
Generally speaking, each data item (that is not a primary or foreign key) should only appear in one table, otherwise you will have referential integrity issues. Course table - looks fine. Instructor table - looks fine. Class table - Probably doesn't need a composite key between ClassCode and CourseCode, however I assume InstrName is the Instructor name - this doesn't need to be in there, as ...
Thread:  Show this thread (9 posts)   Thread info: table normalization Size: 821 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: table normalization :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
CodeProject: Discussion Boards. Free source code and programming help
Started 2 days, 20 hours ago (2009-11-25 05:36:00)  by Abhijit Jana
Try This : DBCC CHECKIDENT (tableName, RESEED, 1000 )
Thread:  Show this thread (7 posts)   Thread info: Start records from Specific Number Size: 143 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Start records from Specific Number :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
CodeProject: Discussion Boards. Free source code and programming help
Started 2 days, 12 hours ago (2009-11-25 13:59:00)  by Shameel
Do this and check your SQL: print @sql
Thread:  Show this thread (5 posts)   Thread info: Building an SQL Statement in a stored procedure Size: 142 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Building an SQL Statement in a stored procedure :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
CodeProject: Discussion Boards. Free source code and programming help
Started 1 day, 23 hours ago (2009-11-26 02:05:00)  by d@nish
You should have posted this in C++ forum.
Thread:  Show this thread (2 posts)   Thread info: ADO question moved to .NET forum Size: 79 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Wrong Forum :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
CodeProject: Discussion Boards. Free source code and programming help
Started 5 days, 1 hour ago (2009-11-23 00:13:00)  by Golden Jing
Thanks you Blue_boy but i need only one number. If that number do not have i need number that nearby it. so how can i do ?
Thread:  Show this thread (19 posts)   Thread info: How to take a number which compare nearby some numbers ? Size: 192 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to take a number which compare nearby some numbers ? :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
CodeProject: Discussion Boards. Free source code and programming help
Started 2 days, 22 hours ago (2009-11-25 03:28:00)  by Vuyiswa Maseko
You need a Configuration File to store the credentials to the Server. To make sure if what you are saying 9is what am assuming. can you please send us the error ?
Thread:  Show this thread (2 posts)   Thread info: SSIS Script Task Size: 200 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: SSIS Script Task :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
CodeProject: Discussion Boards. Free source code and programming help
Started 3 days, 14 hours ago (2009-11-24 11:31:00)  by David Mujica
I'm not aware of anything "built in" that would generate the create/alter/drop script for you, but the syntax of these commands is pretty straight forward. For example: IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[FSACTIONSET]') AND type in (N'U')) DROP TABLE [dbo].[FSACTIONSET] So you could build your own SPROC to generate the script syntax. What are you trying...
Thread:  Show this thread (7 posts)   Thread info: Is it possible to get create/alter/drop scripts from within a SP in SQL
server 2005? Size: 559 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Is it possible to get create/alter/drop scripts from within a SP in SQL
server 2005? :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
 

Hot threads for last week on SQL / ADO / ADO.NET::

SQL / ADO / ADO.NET
Started 5 days, 1 hour ago (2009-11-23 00:13:00)  by Golden Jing
Thanks you Blue_boy but i need only one number. If that number do not have i need number that nearby it. so how can i do ?
Thread:  Show this thread (19 posts)   Thread info: How to take a number which compare nearby some numbers ? Size: 192 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to take a number which compare nearby some numbers ? :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
SQL / ADO / ADO.NET
Started 21 hours, 57 minutes ago (2009-11-27 04:05:00)  by Vuyiswa Maseko
hi Ted SET NOCOUNT ON is used if you dont want to show results. Lets say i have a Query that Updates a Table, at the end it will give me something like 100 Rows Affected to make sure that the update does not show that message , you use SET NOCOUNT ON i have never seen this use in a query passed as a parameter, am not sure if this is correct because as i remember correctly you are not...
Thread:  Show this thread (11 posts)   Thread info: adding SET NOCOUNT ON to large number of stored procedures [modified] Size: 633 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: adding SET NOCOUNT ON to large number of stored procedures :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
SQL / ADO / ADO.NET
Started 1 week ago (2009-11-20 02:13:00)  by Vuyiswa Maseko
Am trying to understand what your question.its not clear please try to explain again
Thread:  Show this thread (10 posts)   Thread info: Convert a 2008 SQL SERVER MDF info 2005 ! Size: 122 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Convert a 2008 SQL SERVER MDF info 2005 ! :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
SQL / ADO / ADO.NET
Started 2 days, 1 hour ago (2009-11-26 01:02:00)  by _Damian S_
Generally speaking, each data item (that is not a primary or foreign key) should only appear in one table, otherwise you will have referential integrity issues. Course table - looks fine. Instructor table - looks fine. Class table - Probably doesn't need a composite key between ClassCode and CourseCode, however I assume InstrName is the Instructor name - this doesn't need to be in there, as ...
Thread:  Show this thread (9 posts)   Thread info: table normalization Size: 821 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: table normalization :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
SQL / ADO / ADO.NET
Started 1 week ago (2009-11-20 02:09:00)  by Vuyiswa Maseko
well that will be nice if you can buy a Book, i will recomend one for beginner. well am writting one that takes the N-Tier route. you can check my articles http://www.codeproject.com/script/Articles/MemberA rticles.aspx?amid=3942021 [ ^ ] and i have a friend who wrote a nice book that will get you started in N-Tier , you can buy yourself this one http://www.allbookstores.com/book/...
Thread:  Show this thread (8 posts)   Thread info: Yet Another SQL Server 2008 Question Size: 1,002 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Yet Another SQL Server 2008 Question :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
SQL / ADO / ADO.NET
Started 1 week, 1 day ago (2009-11-20 02:02:00)  by Vuyiswa Maseko
i understood the first part of your question but got lost in the last question. First Question when you logged into SQl management Studio did you use Windows Authentication to log in ? if yes, your user did not have permission. log in as a "sa" user or a user that has sysadmin permission in that sql instance and add the domain user and give him appropriate permissions and you will be able to add...
Thread:  Show this thread (7 posts)   Thread info: And Another SQL Server Question (sorry 'bout that, Chief...) Size: 1,286 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: And Another SQL Server Question (sorry 'bout that, Chief...) :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
SQL / ADO / ADO.NET
Started 1 week, 2 days ago (2009-11-18 20:50:00)  by _Damian S_
As a general rule, you shouldn't store any value that you can calculate... HOWEVER... the one main instance for breaking this rule is where the volume of data is large and the calculation needs to be performed frequently, therefore making it a better option to store the calculated values for speed and efficiency purposes (even if doing so adds a level of complexity - ie: maintaining the stored ...
Thread:  Show this thread (9 posts)   Thread info: Seeking advice on setting up a database or data warehouse Size: 753 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Seeking advice on setting up a database or data warehouse :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
SQL / ADO / ADO.NET
Started 6 days, 5 hours ago (2009-11-21 20:18:00)  by Ted2102
This is not a perfect solution, but hopefully it might help. If you separate out first, middle, and last name, then you might be able to look at sum of two instr(.) calls being greater than 0 when you search for the first few and last few characters. Given the names that match based on first and last name, then eliminate only based on middle as it might be left out. You also might call a user...
Thread:  Show this thread (7 posts)   Thread info: Similarity search in SQL Size: 567 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Similarity search in SQL :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
SQL / ADO / ADO.NET
Started 3 days, 14 hours ago (2009-11-24 11:31:00)  by David Mujica
I'm not aware of anything "built in" that would generate the create/alter/drop script for you, but the syntax of these commands is pretty straight forward. For example: IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[FSACTIONSET]') AND type in (N'U')) DROP TABLE [dbo].[FSACTIONSET] So you could build your own SPROC to generate the script syntax. What are you trying...
Thread:  Show this thread (7 posts)   Thread info: Is it possible to get create/alter/drop scripts from within a SP in SQL
server 2005? Size: 559 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Is it possible to get create/alter/drop scripts from within a SP in SQL
server 2005? :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."
SQL / ADO / ADO.NET
Started 2 days, 20 hours ago (2009-11-25 05:36:00)  by Abhijit Jana
Try This : DBCC CHECKIDENT (tableName, RESEED, 1000 )
Thread:  Show this thread (7 posts)   Thread info: Start records from Specific Number Size: 143 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Start records from Specific Number :: SQL / ADO / ADO.NET :: CodeProject: Discussion Boards. Free source code a..."