Forum Replies Created

Viewing 15 posts - 9,646 through 9,660 (of 15,374 total)

  • RE: table name as input param

    Remember that doesn't mean you suddenly have any table in your system. You have to define TVP as a type. Then you can pass that table to a proc as...

  • RE: table name as input param

    Snargables (1/11/2013)


    Doesnt sql server 2008 have a table type. i need to pass a table name into a proc.

    I have a bad feeling that you want to pass in your...

  • RE: Problem in installing sql server 2012

    soni321 (1/10/2013)


    it giving error that i need ps1 for windows 7 i have home premium

    I assume you mean SP1? Did you try to download and install it? A quick search...

  • RE: Joining Table to Itself

    This is likely VERY close.

    SELECT STM.staffcode_c as [Staff Code],

    STM.firstname_vc as [First Name],

    STM.lastname_vc as [Last Name],

    PC.description_vc as [Program],

    STM.department_vc as [Title]

    STM.birthcountry_vc as [Spervisor],

    supervisor.firstname_vc as [Supervisor First Name],

    supervisor.lastname_vc as [Supervisor Last Name]

    FROM ar.staffmaster...

  • RE: Joining Table to Itself

    Hi and welcome to SSC!!! We need some details before we can offer much assistance here. We would like to see ddl (create table statements), sample data (insert statements) and...

  • RE: Better Way to Perform this Query

    Alan.B (1/10/2013)


    I agree that I should have used a tally table. I've been writing CTE's for counting for awhile and can do so while sleeping. I still fumble around with...

  • RE: Query to return DateTime values after a set date?

    Hi and welcome to SSC!!! This is a sql server forum and not a MySql so the help you get may be somewhat different. The basics are the same though...

  • RE: EXEC sql string that has table variable

    gsd1 (1/10/2013)


    Hi,

    Why the following code gives error? I have @temp table variable already declared, @p_SampleRecords variable already declared and assigned a value.

    Declare @strSql varchar(max)

    set @strSql = 'select top '...

  • RE: Why doesn’t ISNUMERIC work correctly? (SQL Spackle)

    Brett this is actually pretty simple. I included some sample data using your names and even included the condition of len = 6. for numbers though we don't want to...

  • RE: database design, your thoughts on an issue with developers

    dbdmora (1/9/2013)


    I have a developer that wants to create 4 different databases on a specific server that what technically seems for 1 app.

    ITApplicationSecurity

    ITApplicationState

    ITApplicationService

    ITApplicationLogging

    The same application will write to...

  • RE: UPDATE common table expression

    dave harris 45446 (1/9/2013)


    Hi all

    Can anyone advise please, I have a TSQL 2008r2 headache...

    I'm calculating the geo distance between a previous geo point and current geo point.

    The code below,...

  • RE: Reg: Image Directly Insert into database binary Format

    vs.satheesh (1/8/2013)


    Dear All

    I am working in University Project.I have 10000 students physical photos in one directory...

  • RE: Form which is connected to SQL database

    Marlena.ibek (1/9/2013)


    Hi all.

    I have got a task which I'm working with on the moment.

    I'm looking for an answer here, as this is the best place to ask questions.

    Ok, I've created...

  • RE: How to search in text column?

    6k rows is not really not that much to look through. Full Text indexing can make that sort of thing happen pretty fast.

    --EDIT--

    Seems that Anthony was quicker on the draw...

  • RE: Best way to Calculate Human Age from a Birthdate

    Going by the dictionary definition of age, "The length of time during which a being or thing has existed.", I have to say that negative age does not make much...

Viewing 15 posts - 9,646 through 9,660 (of 15,374 total)