Viewing 15 posts - 5,446 through 5,460 (of 26,490 total)
Try this:
CREATE PROCEDURE YourProcName
(
--DECLARE
@dtstart_time DATETIME ,
@dtend_time DATETIME
)
AS
BEGIN
SET NOCOUNT ON;
DECLARE @parts TABLE
(
...
April 21, 2015 at 12:28 pm
khandwerk582 (4/16/2015)
Unfortunately I cannot get this to work
Sorry, I don't have a crystal ball. Without more information there really is nothing we can do except shoot in the dark...
April 16, 2015 at 3:08 pm
Check out this article and see if it helps: http://www.sqlservercentral.com/articles/T-SQL/63351/.
April 16, 2015 at 9:51 am
PSB (4/15/2015)
I am trying to drop users from a specific database and getting the error below . Please help.
TITLE: Microsoft SQL Server Management Studio
------------------------------
Drop failed for User 'User1'. (Microsoft.SqlServer.Smo)
For...
April 15, 2015 at 2:15 pm
SQL Server 2008 R2 SE and SQL Server 2012 DE.
April 15, 2015 at 1:32 pm
I ran the code twice with no errors. Sorry I can't be of any help.
April 15, 2015 at 1:28 pm
Brandie Tarvin (4/14/2015)
Can I borrow the Hippo and the pork chop launcher to use for a "private event?"GAH.
No problem with borrowing the hippo. You'll need to check with Jeff...
April 14, 2015 at 12:17 pm
Grant Fritchey (4/10/2015)
Lynn Pettis (4/10/2015)
RonKyle (4/10/2015)
but by avoiding key lookups, or worse table/index scans
assuming the table is not a heap (which it shouldn't be, right?), why would it (at least...
April 10, 2015 at 10:53 am
PET PEEVE!
Semicolons (;) are not BEGININATORS they are TERMINATORS and belong at the end of SQL statements.
April 10, 2015 at 10:46 am
yusufm 48726 (4/10/2015)
I am not sure how to change the format so it...
April 10, 2015 at 10:16 am
Here is another way to write our query but it results is basically the same execution plan. Depending on how much data you have you may want to consider...
April 10, 2015 at 10:06 am
yusufm 48726 (4/10/2015)
SELECT TransactionDate, AccountNumber, ProductName, ProductGroup, Qty
,CountryCode, Price,...
April 10, 2015 at 9:27 am
RonKyle (4/10/2015)
but by avoiding key lookups, or worse table/index scans
assuming the table is not a heap (which it shouldn't be, right?), why would it (at least as a general rule)...
April 10, 2015 at 9:23 am
Grant Fritchey (4/10/2015)
RonKyle (4/10/2015)
April 10, 2015 at 9:07 am
Viewing 15 posts - 5,446 through 5,460 (of 26,490 total)