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 | Forum profile

Forum profile page for SQL on http://www.sqlmonster.com. This report page is the aggregated overview from a single forum: SQL, located on the Message Board at http://www.sqlmonster.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" on the Message Board at http://www.sqlmonster.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: SQL Server Forum - SQL (site profile, domain info sqlmonster.com)
Title: SQL
Url: http://www.sqlmonster.com/Uwe/Forums.aspx/sql-s...
Users activity: 29 posts per thread
Forum activity: 173 active threads during last week
 

Posting activity on SQL:

  Week Month 3 Months
Threads: 173 463 1,401
Post: 426 1,233 4,038
 

SQL Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
--CELKO--
26
user's latest post:
Find approximate values
Published (2009-11-10 21:50:00)
Mop the floor, but fix the leak.  Add a CHECK (foobar LIKE '[A-Z][A-Z] [A-Z]') to the table so that the bad data never gets into the database.  Let the applications do data scrubbing on their side of the system.
Plamen Ratchev
25
user's latest post:
How to update a new column in a...
Published (2009-11-11 18:18:00)
You can use the ANSI update syntax: UPDATE Table1 SET ErrorMsg = (SELECT T.ErrorMsg                 FROM Temp AS T                 WHERE T.clientkey = Table1.clientkey) WHERE EXISTS(SELECT *              FROM Temp AS T    ...
Uri Dimant
24
user's latest post:
looping
Published (2009-11-11 14:55:00)
Tony Have  you looked into Hugo's solution for running totals ( his chapter in MVP books). It was definitely fast than my another solution , but unfortunately I have not compared it with a cursor. > If he does answer it will be some off topic rant aimed at distracting us > away from the facts in the case in point also - it won't come anywhere [quoted text clipped - 164 lines] >>>>...
Erland Sommarskog
22
user's latest post:
Why can’t recursive queries...
Published (2009-11-11 22:40:00)
That must explain ahy in VB .Net can write:      Using cn As SqlConnection = setup_connection(), _            cmd As SqlCommand = cn.CreateCommand() But I in C# has to write:       using (SqlConnection cn = setup_connection()) {         using (SqlCommand cmd = cn.CreateCommand()) { > That I...
Tony Rogerson
17
user's latest post:
looping
Published (2009-11-11 16:34:00)
ah - you mean the "don't" rely on the ordering of the rows one. That's been in the product for a long time and its best avoided unless all the criteria are met like uniqueness on the keys and stuff but I don't think using it in this way is good practice. Tony > It will probably be worth mentioning , even in passing, Jeff Modens Quirky > update. [quoted text clipped - 194 lines]...
Russell Fields
13
user's latest post:
transaction log file growth
Published (2009-11-05 15:17:00)
Mike, If you have a long-running transaction that remains open, it prevents the log space from being reused, which can cause the log file to grow.  Log space can only be backed up and reused back to the oldest still open transaction in the database.  You can investigate using DBCC OPENTRAN to see if that is the case. (Note that even if the transaction is small, it still holds the log space prisoner for all the other...
Hugo Kornelis
13
user's latest post:
looking for statement split tool
Published (2009-11-06 23:39:00)
Hi aspfun, Maybe this site helps: http://www.sqlinform.com/ (And then choose the "try it online" option). Signature Hugo Kornelis, SQL Server MVP My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
klem s
12
user's latest post:
AdventureWorks database
Published (2009-11-10 21:33:00)
Hi Sql book I’m reading uses extensively AdventureWorks database. But it’s very difficult to follow since I don’t know what exactly the tables and their columns represent ( I realize each column has a descriptive name like RevisionNumber, TaxAmt …but many of these terms are confusing, especially when not seeing the larger picture ), and how these tables ( aka what they represent in real world ) are semantically related to each other....
Eric Isaacs
11
user's latest post:
Need Help w/ Monthly Sales...
Published (2009-11-10 20:10:00)
Also, you mentioned in your original post that you wanted to keep running totals, I assumed for the year, and each month.  Your solution only keeps running totals by SKU by month and restarts each month. Does that meet your requirements? -Eric Isaacs
jh
9
user's latest post:
SQL 2008 - FILESTREAM...
Published (2009-11-11 15:23:00)
I tried running the program from the remote machine and from the server itself. Sharing files and printers was enabled, also tried with firewall turned off. Regars, Jacek
 

Latest active threads on SQL::

SQL Server Forum
Started 1 week ago (2009-11-06 23:19:00)  by Hugo Kornelis
Hi Klem, Simple - because that are the limitation the development team chose to put in place. <speculation mode on> Allowing these options would probably allow users to write queries that were too hard to figure out how to do, or that would require more development time than was necessary. Evey option allowed adds to the complexion of the final product. Remember that if an option is allowed, ...
Thread:  Show this thread (11 posts)   Thread info: Why can’t recursive queries contain...? Size: 2,660 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Why can’t recursive queries contain...? :: SQL :: SQL Server Forum"
SQL Server Forum
Started 6 days ago (2009-11-08 20:07:00)  by Erland Sommarskog
I suspect this is a "how do I do this in Delphi", which is not easy to assist with, since I don't know Delphi. I would guess that you have some error around one of the parameters to OpenSqlFilestream or the import of it. Could you post the code, including how you import OpenSqlFilestream? No promises, but maybe we are able to spot something. Signature Erland Sommarskog, SQL Server MVP,...
Thread:  Show this thread (10 posts)   Thread info: SQL 2008 - FILESTREAM OpenSQLFilestream invalid handle Size: 919 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: SQL 2008 - FILESTREAM OpenSQLFilestream invalid handle :: SQL :: SQL Server Forum"
SQL Server Forum
Started 3 days ago (2009-11-11 20:25:00)  by Scott Morris
Correct. However, you seem to not quite grasp the difference between char and varchar. BOL should be your first visit. > Likewise, if there are more than 23 and 25 characters, > then the data will not be inserted into those two fields. Also correct?
Thread:  Show this thread (2 posts)   Thread info: number of characters when creating table Size: 1,063 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: number of characters when creating table :: SQL :: SQL Server Forum"
SQL Server Forum
Started 3 days, 10 hours ago (2009-11-11 10:02:00)  by Uri Dimant
Abba What does the query do? How much rows do you return? > Hello, > [quoted text clipped - 21 lines] > TIA, > AbbA
Thread:  Show this thread (5 posts)   Thread info: First hit to Reporting services is slow Size: 205 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: First hit to Reporting services is slow :: SQL :: SQL Server Forum"
SQL Server Forum
Started 3 days, 2 hours ago (2009-11-11 18:18:00)  by Plamen Ratchev
You can use the ANSI update syntax: UPDATE Table1 SET ErrorMsg = (SELECT T.ErrorMsg FROM Temp AS T WHERE T.clientkey = Table1.clientkey) WHERE EXISTS(SELECT * FROM Temp AS T WHERE T.clientkey = Table1.clientkey); Or the SQL Server specific update with join (note here that multiple matches on clientkey will result in non-...
Thread:  Show this thread (2 posts)   Thread info: How to update a new column in a table with data from a temp table Size: 950 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: How to update a new column in a table with data from a temp table :: SQL :: SQL Server Forum"
SQL Server Forum
Started 3 days, 15 hours ago (2009-11-11 05:00:00)  by Balaji
Hi Bob, sp_MSforeachtable stored procedure is a undocumented stored procedure. It is always best to avoid any undocumented procedure in a production environement. Regards, Balaji > Is sp_MSforeachtable the best approach to maintain the rebuilding of all > indexes > for all tables in a database? > thanks in advance, > ..bob
Thread:  Show this thread (4 posts)   Thread info: sp_MSforeachtable Size: 425 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: sp_MSforeachtable :: SQL :: SQL Server Forum"
SQL Server Forum
Started 4 days, 4 hours ago (2009-11-10 16:01:00)  by Simon Whale
change the select select @myremoved1 = @myremoved1 + @myremoved to set @myremoved1 = @myremoved1 + @myremoved Simon > Hi... i have been testing using cursor's. > looping through a select statement, I want put a numeric field into a temp [quoted text clipped - 20 lines] > > any help?
Thread:  Show this thread (13 posts)   Thread info: looping Size: 401 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: looping :: SQL :: SQL Server Forum"
SQL Server Forum
Started 1 week, 1 day ago (2009-11-06 16:39:00)  by Eric Isaacs
The sales data doesn't change after the period is expired, so rather than an indexed view, why not a permanent table to keep these values in? Consider a table like this... Create Table dbo.TotalSales ( TotalSalesID INT IDENTITY(1,1) PRIMARY KEY, ProductSKU INT NOT NULL TotalSalesYear INT NOT NULL, TotalSalesMonth INT NULL, TotalSalesDay INT NULL ) The idea being that the ...
Thread:  Show this thread (7 posts)   Thread info: Need Help w/ Monthly Sales Totals Indexed View Size: 1,172 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Need Help w/ Monthly Sales Totals Indexed View :: SQL :: SQL Server Forum"
SQL Server Forum
Started 3 days, 15 hours ago (2009-11-11 04:59:00)  by Balaji
Hi Jon, It may be because of isolation level setting. The client may be using read uncommited isolation level. If so ask the client to use read commited isolation level Regards, Balaji >I have a T-SQL stored procedure that inserts a row into one table, then >inserts a row into another table, both tables in the same database. Both [quoted text clipped - 10 lines] > > Thanks.
Thread:  Show this thread (3 posts)   Thread info: SQL Server "insert", rows wnot immediately visible to other clients Size: 498 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: SQL Server "insert", rows wnot immediately visible to other clients :: SQL :: SQL Server Forum"
 

Hot threads for last week on SQL::

SQL
RE: Transaction load - 13 new posts
Started 1 week ago (2009-11-07 17:39:00)  by Farmer
Mike, What is the point in wrapping each file upload into transaction? Each INSERT is atomic transaction already, lasting the length of insert. If you always had 3 related files coming and you needed to upload them as unit, and ensure that all are loaded or all fail, then explicit wrapper transaction is a valid approach. If you have appropriate size SQL Server, this should be no problem. if...
Thread:  Show this thread (13 posts)   Thread info: Transaction load Size: 837 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Transaction load :: SQL :: SQL Server Forum"
SQL
RE: looping - 13 new posts
Started 4 days, 4 hours ago (2009-11-10 16:01:00)  by Simon Whale
change the select select @myremoved1 = @myremoved1 + @myremoved to set @myremoved1 = @myremoved1 + @myremoved Simon > Hi... i have been testing using cursor's. > looping through a select statement, I want put a numeric field into a temp [quoted text clipped - 20 lines] > > any help?
Thread:  Show this thread (13 posts)   Thread info: looping Size: 401 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: looping :: SQL :: SQL Server Forum"
SQL
Started 1 week ago (2009-11-06 23:19:00)  by Hugo Kornelis
Hi Klem, Simple - because that are the limitation the development team chose to put in place. <speculation mode on> Allowing these options would probably allow users to write queries that were too hard to figure out how to do, or that would require more development time than was necessary. Evey option allowed adds to the complexion of the final product. Remember that if an option is allowed, ...
Thread:  Show this thread (11 posts)   Thread info: Why can’t recursive queries contain...? Size: 2,660 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Why can’t recursive queries contain...? :: SQL :: SQL Server Forum"
SQL
Started 4 days, 4 hours ago (2009-11-10 16:17:00)  by sloan
//I know that I can't use select top or set rowcount.// That's like asking "How can I change the brakes on my car without using a wrench or socket?" ......... Why are you eliminating the EXACT TOOLS you need to perform the job? Q1: Why can't you use the commands you list? > Hopefully this makes sense.... > [quoted text clipped - 6 lines] > > Any help is greatly appreciated.
Thread:  Show this thread (11 posts)   Thread info: Return specific number of reords per ID Size: 513 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Return specific number of reords per ID :: SQL :: SQL Server Forum"
SQL
Started 6 days ago (2009-11-08 20:07:00)  by Erland Sommarskog
I suspect this is a "how do I do this in Delphi", which is not easy to assist with, since I don't know Delphi. I would guess that you have some error around one of the parameters to OpenSqlFilestream or the import of it. Could you post the code, including how you import OpenSqlFilestream? No promises, but maybe we are able to spot something. Signature Erland Sommarskog, SQL Server MVP,...
Thread:  Show this thread (10 posts)   Thread info: SQL 2008 - FILESTREAM OpenSQLFilestream invalid handle Size: 919 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: SQL 2008 - FILESTREAM OpenSQLFilestream invalid handle :: SQL :: SQL Server Forum"
SQL
Started 1 week, 1 day ago (2009-11-06 03:02:00)  by Erland Sommarskog
SELECT R.* FROM Routes R WHERE EXISTS (SELECT TOP(1) * FROM NearestPoints NP WHERE NP.Id = R.Id ORDER BY NP.n, NP.dist) Signature Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207 .aspx SQL 2005: ...
Thread:  Show this thread (9 posts)   Thread info: Select syntax confusion Size: 987 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Select syntax confusion :: SQL :: SQL Server Forum"
SQL
Started 4 days, 22 hours ago (2009-11-09 22:15:00)  by Erland Sommarskog
convert(char(8), getdate(), 112) + replace(convert(char(8), getdate(), 108), ':', '') Signature Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207 .aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970 .aspx SQL 2000: http://www.microsoft.com/sql/prodinfo/previousvers ions/...
Thread:  Show this thread (7 posts)   Thread info: 14 byte date/time in file name Size: 629 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: 14 byte date/time in file name :: SQL :: SQL Server Forum"
SQL
Started 1 week, 1 day ago (2009-11-06 16:39:00)  by Eric Isaacs
The sales data doesn't change after the period is expired, so rather than an indexed view, why not a permanent table to keep these values in? Consider a table like this... Create Table dbo.TotalSales ( TotalSalesID INT IDENTITY(1,1) PRIMARY KEY, ProductSKU INT NOT NULL TotalSalesYear INT NOT NULL, TotalSalesMonth INT NULL, TotalSalesDay INT NULL ) The idea being that the ...
Thread:  Show this thread (7 posts)   Thread info: Need Help w/ Monthly Sales Totals Indexed View Size: 1,172 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Need Help w/ Monthly Sales Totals Indexed View :: SQL :: SQL Server Forum"
SQL
Started 1 week ago (2009-11-07 01:56:00)  by mouser
Are you using bulk loading (called "fast load" in SSIS, I believe) in your OLE DB Destination adapter? I don't think you can track particular errors with bulk loading on. If you turn off "Fast Load", the adapter will have an error path you can use to redirect error rows elsewhere. The error path adds "Error Description" and "Error Code" columns to the flow, which you can interrogate for FK ...
Thread:  Show this thread (6 posts)   Thread info: SSIS hitting FK violation - need to ignore the error rows - have    
package succeed Size: 711 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: SSIS hitting FK violation - need to ignore the error rows - have    
package succeed :: SQL :: SQL Server Forum"
SQL
Started 1 week, 4 days ago (2009-11-03 00:50:00)  by --CELKO--
"A problem well stated is a problem half solved." -- Charles F. Kettering Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. If you know how, follow ISO-11179 data element naming conventions and formatting rules. Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much...
Thread:  Show this thread (14 posts)   Thread info: Join query returns to many rows Size: 993 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Join query returns to many rows :: SQL :: SQL Server Forum"