|
More site info...
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.
|
|
|
|
|
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:
|
Top authors during last week:
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.
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.
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...
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)....
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 ?
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.
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...
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....
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::
Started 15 hours, 10 minutes ago (2009-11-27 10:52:00)
by Ashfield
Ever tried the ORDER BY clause?
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...
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.
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 ...
Started 2 days, 20 hours ago (2009-11-25 05:36:00)
by Abhijit Jana
Try This : DBCC CHECKIDENT (tableName, RESEED, 1000 )
Started 2 days, 12 hours ago (2009-11-25 13:59:00)
by Shameel
Do this and check your SQL: print @sql
Started 1 day, 23 hours ago (2009-11-26 02:05:00)
by d@nish
You should have posted this in C++ forum.
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 ?
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 ?
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...
|
|
Hot threads for last week on 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 ?
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...
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
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 ...
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/...
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...
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 ...
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...
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...
Started 2 days, 20 hours ago (2009-11-25 05:36:00)
by Abhijit Jana
Try This : DBCC CHECKIDENT (tableName, RESEED, 1000 )
|
|