Viewing 15 posts - 7,276 through 7,290 (of 15,381 total)
Annee (8/5/2013)
Sure.. thanks for the inputs.. what would the dynamic sql syntax look like??Appreciate any help with the syntax to accomplish this.. thanks!
Something like this.
CREATE PROCEDURE [dbo].[pr_GetVendorInfo]
(
@ClientName nVarChar(15),
@VendorName nVarChar(40),
@InvoiceType nVarChar(10)
)
AS
declare...
August 5, 2013 at 2:22 pm
Annee (8/5/2013)
Here is the ddl:
CREATE TABLE [dbo].[AgencySupplierPartner](
[ClientName] [nvarchar](15) NOT NULL,
[VendorName] [nvarchar](40) NOT NULL,
[TaxID] [nchar](9) NOT NULL,
[AcceptStandard] [nvarchar](10) NULL,
[AcceptSummary] [nvarchar](10) NULL
CONSTRAINT [PK_AgencySupplierPartner] PRIMARY KEY CLUSTERED...
August 5, 2013 at 1:41 pm
gbill (8/5/2013)
August 5, 2013 at 1:34 pm
Hi and welcome to the forums. What you are describing is generally known as gaps and islands. For finding groups of contiguous dates this article does a great job explaining...
August 5, 2013 at 1:32 pm
jbalbo (8/5/2013)
so my spreadsheet looks...
August 5, 2013 at 1:05 pm
jbalbo (8/5/2013)
Trying to update a bunch of records , figured I'd use the following by using an excel SS with concatenate..
I have a synax error somewhere but can't find...
August 5, 2013 at 12:49 pm
Amy.G (8/5/2013)
SELECT column1, column2
INTO NewTable
FROM OldTable
method. Is there a way of creating a table in this manner and saying if the columns should...
August 5, 2013 at 12:39 pm
Jeffrey Williams 3188 (8/5/2013)
My be a bit simpler to read this:
IF cast(getdate() as time) >= '09:00'
Aye!!! That it is.
August 5, 2013 at 12:36 pm
Your inserts didn't work because you have specified a value for each row but the values are all the same. I modified that so it will work.
IF OBJECT_ID('TempDB..#mytable','U') IS NOT...
August 5, 2013 at 12:35 pm
OldSageMonkey (8/5/2013)
Thanks its saved that time, Ill wait till tomorrow and see if it runs. 🙂
It will run and it will be successful no matter what time it actually runs....
August 5, 2013 at 10:50 am
Hi and welcome to the forums. In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form...
August 5, 2013 at 10:09 am
DDL and sample data would have made this a lot easier. 🙂
Basically this is a normal group by situation except that you need to do some date math to group...
August 5, 2013 at 9:03 am
Minnu (8/5/2013)
I've having 120 tables in that 80+ tables have "emp_id" as a column_name, mistakenly i've inserted a record in to Employee table,
there are many triggers on that...
August 5, 2013 at 8:59 am
asco5 (8/5/2013)
i just did
sp_spaceused '[db].[db].[demo]'
where demo is my table
but i would like to get the rows, reserverd , data , index_size and unused only for...
August 5, 2013 at 8:47 am
M Joomun (8/5/2013)
Sean Lange (8/5/2013)
M Joomun (8/5/2013)
Yes, thanks Sean. Changing the dataype has worked.Glad that worked for you. More importantly, do you understand why that worked?
Because it's looking for a...
August 5, 2013 at 8:26 am
Viewing 15 posts - 7,276 through 7,290 (of 15,381 total)