Viewing 15 posts - 2,071 through 2,085 (of 5,590 total)
pwalter83 (12/22/2010)
What format do you want me to convert the spreadsheets then ?
CREATE TABLE <YourTableName> (Your Column list);
ALTER TABLE to show PK/FK/UQ constraints.
CREATE INDEX to show any indexes on the...
December 22, 2010 at 11:18 am
pwalter83 (12/22/2010)
December 22, 2010 at 9:33 am
This is incomplete, and not quite right, but hopefully it will fire off someone's neurons to get it finished. I remember seeing something here (article or thread) dealing with just...
December 21, 2010 at 9:41 pm
lsurapaneni (12/21/2010)
I am using SQL 2005
Really? With an INSERT statement that has a VALUES clause like that?
BTW, it would be really, really nice if the code you supplied could actually...
December 21, 2010 at 8:46 pm
lsurapaneni (12/21/2010)
Here's the table def and values
I take it that you're using SQL 2008 - R1 or R2?
December 21, 2010 at 8:38 pm
ALZDBA (12/21/2010)
The issue with the maintenance plan is that it is actually an SSIS package at SQLServer side, to you'll have to use the 2005 for sql2005.
SSMS 2008 actually modifies...
December 21, 2010 at 8:25 pm
For your permanent and temporary tables (not table variables), you can wrap all of this up with a begin transaction statement, and with the use of try/catch you can decide...
December 21, 2010 at 2:09 pm
Sourav-657741 (12/21/2010)
Thanks for the suggestion..!!However, what would be the additional 'switch' to be used to create an OUTPUT file?
For most DOS commands, a single greater-than sign followed by a filename...
December 21, 2010 at 2:01 pm
Roy Ernest (12/21/2010)
Our resident Kiwi, Paul being recongnized in the 12 days of Christmas series[/url].Well done Paul.
Congrats Paul! And I have to agree with Kendra - whenever you have...
December 21, 2010 at 10:43 am
I'm seeing two problems:
SET ''' + @production_date_time +''' = DATEADD(SECOND,3, ''' + @production_date_time +''' )
First, assuming that @production_date_time = '20101221' (today's date), if this succeeded you would end up with:
SET...
December 21, 2010 at 8:00 am
ALZDBA (12/20/2010)
- New project on a new folder generates "creating project failed"
- opening an existing sql2008 project...
December 21, 2010 at 7:20 am
Gianluca Sartori (12/21/2010)
Now we just need somebody to say SQL is nothing like COBOL...:-D
And maybe relate this coding style to yee ole punch cards?
December 21, 2010 at 7:06 am
Are you asking about how to have repeated groupings, or how to send a multi-valued parameter to sql to get all of the data for the program.
December 20, 2010 at 7:59 pm
SanDroid (12/20/2010)
WayneS (12/20/2010)
6. Table variables are the only available choice to pass a table to a procedure.
I know XML is not realy a table, but it can be used...
December 20, 2010 at 2:45 pm
SQLkiwi (12/20/2010)
December 20, 2010 at 2:09 pm
Viewing 15 posts - 2,071 through 2,085 (of 5,590 total)